Closed (fixed)
Project:
AdaptiveTheme
Version:
7.x-1.x-dev
Component:
CSS/HTML
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Jun 2011 at 14:21 UTC
Updated:
7 May 2012 at 11:03 UTC
Hi,
I would like to customize the width of my columns just on the frontpage, all other page of the site either use the same width or no columns at all. How can I give the frontpage the custom width sidebars?
Comments
Comment #1
Jeff Burnz commentedOverride the layout settings with the
.frontselector - so you need to add this CSS to your subtheme in one of the CSS files. You could copy the generated layout CSS from the page source code and paste it in for an easy start.If you need more help let me know.
Comment #2
dopedwizard commentedah cool, ok will give it a go, if i get stuck i let you know :)
Thank you
Comment #3
dopedwizard commentedMh ok I had a look but I am not sure where exactly to add the front tag.. as I am not sure which settings are the ones to change (copy and change ) from the layout.css file.
Maybe I am just looking at wrong place...
If you could name the responsible divs with the width that I would need to use it would be of great help. I am using the 3 columun 33% layout incl. header and footer.
Comment #4
Jeff Burnz commentedJust add this to your CSS (adjust to suit your values):
Comment #5
pminfBut this declaration also overwrites the responsive style settings (edit: it's only an issue for version 7.x-2.x).
page.css:
generated responsive.layout.css:
I guess you have to use css media query in responsive.style.css to avoid this:
This should work but I'm wondering if there is a better way to solve this.
Comment #6
Jeff Burnz commented@ PhilippMikael - this is for a different version of the theme (7.x-1.x), the responsive stuff only in 7.x-2.x, what you have should work for the 7.x-2.x responsive version.
Comment #7
Jeff Burnz commentedCleaning up.