This topic has 8 replies, 3 voices, and was last updated 9 years, 2 months ago ago by Brian Johnson
Anyway I can adjust the spacing between widgets on the sidebar? They are all too close making it look like a jumbled mess. Please look at my side on the “Learn Stuff” tab via WP Login (site under construction).
Hello sharsch
Please addfollowing code into the custom.css:
.widget-container:nth-child(n+2){margin-top:50px}
Regards,
Brian Johnson
mmm… thanks Brian but no luck… placed it under Global CSS on Theme Options…
Please watch here how to create custom.css:
Youtube
And don’t forget to clear browser cache after adding the code.
Regards,
Brian Johnson
Hello,
The code doesn’t work because you added script to Global Custom CSS file. Remove it and check sidebar after that.
Best regards,
Jack Richardson.
Thanks Brian. I got it to work from the top, is there a code for controlling the space between each widget on the side bar?
Hello,
Please clarify what exactly you want to achieve and we’ll provide you with code.
Best regards,
Jack Richardson.
You may use previous code for each widget simply replicating it. Just chage numeber 2 in following line counting from top to bottom and changing margin value:
.widget-container:nth-child(2){margin-top:50px}
– for second widget
.widget-container:nth-child(1){margin-top:50px}
– for the first
.widget-container:nth-child(3){margin-top:50px}
– for the third
Regards,
Brian Johnson
You must be logged in to reply to this topic.Log in/Sign up