StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have -- and this forum will be removed on July 1st, 2013.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 04-11-2012, 01:01 PM
flamenco flamenco is offline
Registered User
Genesis Member
 
Join Date: Sep 2011
Posts: 45
Default

Hi,
Along with Nick's excellent suggestion, I just wanted to offer another thought. I have one client who really enjoys having the odd bar go all the way across, but having all the rest in a wrapper.

After looking at the Genesis HTML output, I realized that this is quite easy to do with a tiny bit of CSS, so now I do that routinely. I don't define the width of the outer wrapper at all, so it just goes all the way across.

Then for each subsequent DIV inside the wrapper I have 2 nice choices... I can either define its width so that it seems to be in a wrapper, or leave it alone so it goes all the way across.

But wait, there's more... what if you need, say, a graphic background image for a section that goes all the way across, but you still want its content to be in a "wrapper"? That's easy, too. You just use the .wrap class that's inside each section - define its width for that DIV, and you can have your cake and eat it, too.

You don't even need to write any function code for this method, just CSS.

Cheers, Dave
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:43 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.