make sidebar width liquid
I need to make the sidebar width liquid so that it gets narrower as the browser gets narrow but the Style & Configure Sidebars only accepts px. How can I get it to show sidebar width as a % of page width?
I can just not use sidebars and make the sidebar as part of the page and divide it with CSS but then I would need to edit every sidebar separately if I need to edit. I would like to add a widget on the posts but use a sidebar that has responsive width or add a widget into the page. Is there any way to do this or will I need to edit every post when I need to edit the sidebar? Thanks, Dan |
After posting the above post I found a plugin that will generate a shortcode for a widget that will allow a widget to be put into a page or post using the shortcode. It is called Widget Shortcode
|
You could do this by adding some CSS to ATO->Add HTML/CSS Inserts->CSS Inserts option
if you wanted to set the right sidebar fluid use HTML Code:
.colthree {width: nn%;} colone (left sidebar) colone-inner (left-inner sidebar) coltwo (center area) colthree-inner (right-inner sidebar) colthree (right sidebar) If you do this, use percentages on all and make sure they add up to 100% |
All times are GMT -6. The time now is 01:48 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.