Tagged: x
-
AuthorPosts
-
May 23, 2016 at 4:12 am #1004866
peterokParticipantMy i know how do i create and test customisation on a child theme?
May 23, 2016 at 4:25 am #1004879
ChristopherModeratorHi there,
Please check this link to setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.
Hope it helps.
May 23, 2016 at 6:00 am #1004975
peterokParticipantI have my child theme set up, where do i find the function.php to edit?
May 23, 2016 at 6:34 am #1005016
ChristopherModeratorHi there,
Please connect to FTP and find functions.php file under wp-content/themes/x-child.
Hope it helps.
May 23, 2016 at 8:40 pm #1006308
peterokParticipantThis reply has been marked as private.May 23, 2016 at 11:35 pm #1006557
FriechModeratorHi There,
You can add this under Custom > CSS in the Customizer. This should reduce the bottom footer height.
footer.x-colophon.bottom {padding-top: 0;padding-bottom: 0;} .x-colophon.bottom .x-colophon-content, .x-colophon.bottom #menu-customer-care, .x-colophon.bottom .x-social-global { margin-bottom: 0; margin-top: 0; }And this should able you to adjust the top and bottom footer gap.
footer.x-colophon.top { padding-top: 2%; padding-bottom: 2%; }Hope it helps, Cheers!
May 24, 2016 at 1:28 am #1006657
peterokParticipantIt is still very big, how am i able to control the footer size?
May 24, 2016 at 1:38 am #1006667
RupokMemberHi there,
Did you really try the suggested code? Default padding is as follows :
.x-colophon.top { padding: 5% 0 5.25%; }So if you use the suggested code :
footer.x-colophon.top { padding-top: 2%; padding-bottom: 2%; }Then it will look like this – http://prntscr.com/b7qdxd
So I think the problem will be resolved. Again you can still modify this with your desired value. So makes use to use the suggested code correctly and spend a few minutes to make sure the other codes are also closed properly.
Hope this makes sense.
May 24, 2016 at 3:47 am #1006808
peterokParticipantAm i able to add a fill into the foot also? would like to add like a soft pink colour.
May 24, 2016 at 3:57 am #1006828
ChristianModeratorPlease add the code below in your Appearance > Customize > Custom > CSS
.x-colophon.bottom { background: lightpink; }Hope that helps. 🙂
May 24, 2016 at 4:17 am #1006865
peterokParticipantThis reply has been marked as private.May 24, 2016 at 4:54 am #1006904
Paul RModeratorHi,
To make your top footer colored, you can add this in Appearance > Customize > Custom > CSS
.x-colophon.top { background: lightpink; }This is how your footer looks at my end, can you specify which space you are referring to.
http://screencast.com/t/DsL6MoFJrG
Thanks
May 24, 2016 at 11:24 am #1007547
peterokParticipantThis reply has been marked as private.May 24, 2016 at 12:10 pm #1007615
RupokMemberHi there,
The above code is for top footer although the screenshot was wrong. Kindly use the suggested code.
To be precise :
For Top Footer area:
.x-colophon.top { background: lightpink; }For Bottom Footer area:
.x-colophon.bottom { background: red; }Hope this helps.
Cheers!
May 24, 2016 at 12:15 pm #1007621
ThaiModeratorHi There,
Please add the following CSS:
footer.x-colophon.top { background-color: #f0f0f0; }Hope it helps 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1004670 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
