Community Forums › Forums › Design Tips and Tricks › Executive Theme – Homepage middle question
This topic contains 11 replies, has 4 voices, and was last updated by squirty 1 month, 1 week ago.
-
AuthorPosts
-
January 19, 2013 at 12:17 pm #13107
Does anyone know how to do this?
I have the executive theme on a site but I want to change how the home middle part displays. Instead of having 3 widgets in there, I want to have one text widget that will cover the full width of the page (not just a third). I had a play with the CSS but it messed up the site.
What do I change in the CSS?
-
This topic was modified 4 months ago by
squirty.
-
This topic was modified 4 months ago by
squirty.
January 19, 2013 at 12:56 pm #13113I tested this code edit and it works.
On line 556 of the executive child themes style.css file. Change width to 100%
.home-middle .widget,
.home-top .widget {
-moz-box-sizing: border-box;
box-sizing: border-box;
float: left;
padding: 0 30px;
width: 100%;
}
WordPress Developer & Consultant
Brad Dalton @ WP Sites – Click Here to Get Genesis Child Theme Tips Delivered.January 20, 2013 at 12:37 am #13242Thanks, Brad.
That’s what I tried yesterday, but it didn’t work out right. When I change that code to 100%, the 3 featured page widgets in Home-Top stack on top of one another (instead of side-by-side). How do I move them back?
January 20, 2013 at 12:40 am #13244What is the url to your site?
January 20, 2013 at 12:49 am #13246discoverweb.co.uk
January 20, 2013 at 6:39 am #13263.home-middle .widget {
-moz-box-sizing: border-box;
box-sizing: border-box;
float: left;
padding: 0 30px;
width: 100%;
}
WordPress Developer & Consultant
Brad Dalton @ WP Sites – Click Here to Get Genesis Child Theme Tips Delivered.January 20, 2013 at 10:44 am #13281Thanks, Brad.
That doesn’t look like it worked. Any other suggestions?January 20, 2013 at 10:57 am #13285Changing home middle to 100% if fine, but you have to change Home Right and Home Left to 0. Also, I don’t know if there’s already sample text in the home right/left widgets – if there is then just drag blank text widgets there.
January 20, 2013 at 12:20 pm #13297Thanks, Wp Guy. Where do I make the change so the 3 widgets in Home-Top align next to each other?
January 22, 2013 at 8:11 am #13700Anyone any ideas how to sort the top widgets?
February 18, 2013 at 12:50 am #20935Bumping this for anyone who knows how to sort this out?
April 17, 2013 at 4:47 am #35913If anyone is following this thread, or needs to do it, you need to insert a new condition in the css style sheet of the following:
.home-middle .widget{
-moz-box-sizing: border-box;
box-sizing: border-box;
float: left;
padding: 0 30px;
width: 100%;
}In the css style sheet, it has a comma next to home top and home middle. You simply need to create a new home middle hook.
-
This topic was modified 4 months ago by
-
AuthorPosts
You must be logged in to reply to this topic.