Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2006
    Posts
    6
    Plugin Contributions
    0

    Default SideBox styling problem...

    Hello,

    I have edited the new and old styles within /classic/css/ and those in /template_default/css/ and still cannot get "Search" and "Currencies" fonts to the 10px as the rest of them

    Anyone have any suggestions?

    Thanks a ton,
    Justin.

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: SideBox styling problem...

    First off, don't edit template_default. Go here for an explanation as to why you should create your own template, and a link to tell you how.

    Once you've done that, you will want to edit the CSS for the labels tag, possibly in the specific context of the search and currency box IDs. For some reason the headers for these two sideboxes are enclosed in label tags which are probably overriding all your other attempts to style them.

  3. #3
    Join Date
    May 2006
    Posts
    6
    Plugin Contributions
    0

    Default Re: SideBox styling problem...

    Hello guys,

    the solution it's easy...

    There are two ways to solve the problem:

    1st

    edit your stylesheet.css

    look inside in for this code:

    h4, h5, h6, LABEL, h4.optionName, LEGEND, ADDRESS, .larger{
    font-size: 1.1em;
    }

    change it to this:

    h4, h5, h6, h4.optionName, LEGEND, ADDRESS, .larger{
    font-size: 1.1em;
    }

    LABEL {
    font-size: 1.0em;
    }

    by this way you can edit separately the font-size for LABEL
    It' is necessary because the code of sideboxes like currencies.php, search.php etc.etc. in /includes/modules/sideboxes contains this:

    $title = '<label>' . BOX_HEADING_CURRENCIES . '</label>';

    differently from the others files like languages.php, categories.php etc. etc.
    that contains this:

    $title = BOX_HEADING_LANGUAGES;

    as you can see there's the Tag <label> used in these modules, I really don't understand why, but there is it.

    So, the 2nd solution is to modify the files to clear the code from this Tag;
    the files are:

    search_header.php
    search.php
    record_companies.php
    music_genres.php
    manufacturers.php
    currencies.php

    usually I prefer don't change anything in original code, but this time I think it's the best solution, cause by the first way you can change just the font-size, but you'll find alignement and panning problem.
    I think the right way is the 2nd, maybe the Development Team could check if this can be consider a 'bug' and make changes to distribution files in the next versions.

    Hoping that's useful,
    greetings
    Max


 

 

Similar Threads

  1. v150 Categories Sidebox Styling
    By top hatt in forum Setting Up Categories, Products, Attributes
    Replies: 7
    Last Post: 5 Mar 2013, 07:07 PM
  2. Sidebox styling
    By gazag in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 24 Nov 2011, 10:40 AM
  3. category sidebox styling
    By AfterHouR in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 30 Sep 2009, 10:52 AM
  4. styling sidebox-banners
    By Shane78 in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 9 Sep 2009, 08:11 AM
  5. Styling the language sidebox
    By ALHO in forum Basic Configuration
    Replies: 2
    Last Post: 10 Jul 2007, 06:26 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR