- This topic has 11 replies, 2 voices, and was last updated 8 years, 4 months ago by
Tom.
-
AuthorPosts
-
April 29, 2015 at 11:36 am #103863
Prateek
Hi Tom,
I’m using Generatepress theme for my website. Please see http://ispotted.net/forestry/research/
My question is: In that page ^ there is uneven space between the page content and the footer widget. How can I make it even? It’s the same case with all the pages (unless I get rid of the right sidebar widgets).
Secondly, is there a way to maybe combine the right widget with the page so that everything is in just one box? Not sure If im being clear here. But let me know. Thanks
April 29, 2015 at 6:38 pm #103946Tom
Lead DeveloperLead DeveloperHi there,
This is happening because your right sidebar widgets are longer than your content. But once you set it to one container it will fix this.
To set it to one container, making the right widgets part of your page, go to “Appearance > Customize > Layout” and change the content layout to “one container”
Let me know if this works π
April 30, 2015 at 6:59 am #104195Prateek
Thank you Tom for the response. Is it possible to do one container to everything but the home page?
April 30, 2015 at 9:57 am #104219Tom
Lead DeveloperLead DeveloperHmm.. Maybe..
First, set the setting to one container.
Then try this CSS (assuming you only have the right sidebar set):
.home.right-sidebar.one-container .site-main { margin: 20px 20px 20px 0; padding: 0; } .home.one-container .inside-right-sidebar { margin-bottom: 20px; margin-top: 20px; } .home.one-container .widget { margin-bottom: 20px; }
April 30, 2015 at 10:24 am #104222Prateek
Hi Tom, Yes I just have the right sidebar set.
I put the code in custom css but that didn’t do anything. Is that where I’m supposed to put it?Thanks, PK
April 30, 2015 at 11:10 pm #104292Tom
Lead DeveloperLead DeveloperMy mistake – I’ve edited the code above. Can you try it instead?
Thanks!
May 1, 2015 at 9:01 am #104452Prateek
Hi Tom, It still does not do it.
The only noticeable change to me is the spacing between the sidebar widgets on the homepage. :sPrateek
May 1, 2015 at 10:34 am #104468Tom
Lead DeveloperLead DeveloperHmm, actually, my initial code was correct (made the edit again).
The problem was that you still have the site set to display in separate containers.
If you want the whole site to display in one container, but the homepage, you want to go to “Appearance > Customize > Layout” and set the content layout to “One Container”.
Then add the code above.
That should do it.
May 1, 2015 at 11:21 am #104486Prateek
Hmm. I’m still having no luck with this.
I want to send you the before and after pic of the site (before the code and after adding in the code with one container), but not sure how I can attach it here.
Should I email it to you?
Prateek
May 2, 2015 at 12:09 am #104553Tom
Lead DeveloperLead DeveloperThat would be great π
May 4, 2015 at 12:45 pm #105375Prateek
Sent you an email.
Prateek
May 13, 2015 at 8:03 am #107680Tom
Lead DeveloperLead DeveloperThis has been resolved π
-
AuthorPosts
- You must be logged in to reply to this topic.