Results 1 to 5 of 5
  1. #1
    Join Date
    May 2009
    Posts
    4
    Plugin Contributions
    0

    Default Styling individual sideboxes/column size by page

    Getting a little bit stuck on this one!

    I need one or two of the sideboxes styled differently, and I've gotten a 'lil bit lost in the css.

    I've used the template_default as my basis, and need to style the featured products sidebox for the main page (defined in the define pages editor).

    Anybody got any pointers as to doing it without affecting the rest of them?

    While I'm at it (tap yer foot while I'm asking...) is there any way to adjust the left and right column sizes dependant on page?

    All answers gratefully received and payment via virtual beer

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Styling individual sideboxes/column size by page

    Did you read the CSS_read_me.txt file in the template_default/css folder? It's not real clear, but it does address the style-by-page thing.

  3. #3
    Join Date
    May 2009
    Posts
    4
    Plugin Contributions
    0

    Default Re: Styling individual sideboxes/column size by page

    Does the new stylesheet for the particular page overide the main style sheet?

  4. #4
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Styling individual sideboxes/column size by page

    Yes. That's the whole point of the page- (or category-) specific stylesheet process.

    But don't duplicate all the stuff you don't want to change; just put in the definitions that you want to change for that particular page. All the rest of the definitions will be read from stylesheet.css.

    Rob

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Styling individual sideboxes/column size by page

    And since the column/box widths are set in admin and output in the HTML source (which has highest styling priority), you will need to use !important in your stylesheet to override that.

    width: 169px !important;

 

 

Similar Threads

  1. Styling individual attribute option values
    By Justrimless in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 26 Jul 2011, 04:23 PM
  2. Sideboxes in the middle column of a page?
    By sashafiero in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 3 Feb 2010, 10:41 PM
  3. Styling individual EZ-pages - how can I set a class?
    By markpr9 in forum General Questions
    Replies: 0
    Last Post: 17 Apr 2009, 08:25 PM
  4. Problem styling column width on product listing page
    By bfuture in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 28 Jun 2008, 04:37 AM
  5. Left column sideboxes vs. middle column sideboxes
    By aladambama in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 8 Sep 2006, 07:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg