Results 1 to 6 of 6
  1. #1
    Join Date
    Nov 2008
    Posts
    25
    Plugin Contributions
    0

    Default Can't Figure It Out

    Hi. My site is at http://awitchshearth.com/zencart/.

    It looks like the text in the header of the search sidebox is different than the rest of the sidebox headers. My eye's aren't great, so I can't figure out if it looks different because its a different font or if its just bold, or what. Regardless, I want it to look like the other sidebox headers and I can't for the life of me figure out where to change it. I have looked all over my stylesheet as well as on the english.php document. I have even looked at the search.php docs in templates.

    Can anyone help me with this?

    Allegra

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

    Default Re: Can't Figure It Out

    The search header, unlike most sidebox headings, is a label and follows the generic label rule. To make it follow the same rules as the rest, find these in your stylesheet:
    Code:
    h3.leftBoxHeading, h3.leftBoxHeading a {
    	font-family: trebuchet ms, verdana, arial, helvetica, sans-serif;
    	font-size: 1.05em;
    	color: #FFFFFF;
    	background-color: #545d3e;
    	padding: 0.3em;
    	margin: 0em;
    	}
    
    ...
    
    h3.rightBoxHeading, h3.rightBoxHeading a {
    	font-family: trebuchet ms, verdana, arial, helvetica, sans-serif;
    	font-size: 1.05em;
    	color: #FFFFFF;
    	background-color: #545d3e;
    	padding: 0.3em;
    	margin: 0em;
    	}
    and add
    , h3.leftBoxHeading label
    and
    , h3.rightBoxHeading label
    to get
    Code:
    h3.leftBoxHeading, h3.leftBoxHeading a, h3.leftBoxHeading label {
    	font-family: trebuchet ms, verdana, arial, helvetica, sans-serif;
    	font-size: 1.05em;
    	color: #FFFFFF;
    	background-color: #545d3e;
    	padding: 0.3em;
    	margin: 0em;
    	}
    
    ...
    
    h3.rightBoxHeading, h3.rightBoxHeading a, h3.rightBoxHeading label {
    	font-family: trebuchet ms, verdana, arial, helvetica, sans-serif;
    	font-size: 1.05em;
    	color: #FFFFFF;
    	background-color: #545d3e;
    	padding: 0.3em;
    	margin: 0em;
    	}
    BB ;)

  3. #3
    Join Date
    Nov 2008
    Posts
    25
    Plugin Contributions
    0

    Default Re: Can't Figure It Out

    Glenn,

    Thank you so much! You totally rock! At least I don't feel so stupid now as I just didn't know it was a label.

    BB!

    Alle

  4. #4
    Join Date
    Nov 2008
    Posts
    25
    Plugin Contributions
    0

    Default Re: Can't Figure It Out

    Ack! I did what Glenn told me and it fixed the problem, but then I went and changed some other things and now its screwed up again even with the code Glenn gave me for the labels. Anyone know how to fix it again?

    http://awitchshearth.com/zencart

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

    Default Re: Can't Figure It Out

    Don't feel bad - it's actually something I forgot when posting the code above. I don't know why it even worked the first time (and when I tested it).
    Having the font-size: 1.05em; apply to both
    h3.rightBoxHeading
    and
    h3.rightBoxHeading a, h3.rightBoxHeading label
    means that the anchors and labels get a size of 1.05 x 1.05. The sizing needs to be applied only once. There are several ways of arranging the code for this, but the below will work:
    Code:
    h3.rightBoxHeading, h3.rightBoxHeading a {
    	font-family: trebuchet ms, verdana, arial, helvetica, sans-serif;
    	font-size: 1.05em;
    	color: #FFFFFF;
    	background-color: #545d3e;
    	padding: 0.3em;
    	margin: 0em;
    	}
    h3.rightBoxHeading a, h3.rightBoxHeading label {
    	font-size: 1.0em;
    	}
    It would also work to say
    Code:
    h3.rightBoxHeading {font-size: 1.05em;}
    
    h3.rightBoxHeading, h3.rightBoxHeading a, h3.rightBoxHeading label {
    	font-family: trebuchet ms, verdana, arial, helvetica, sans-serif;
    	color: #FFFFFF;
    	background-color: #545d3e;
    	padding: 0.3em;
    	margin: 0em;
    	}

  6. #6
    Join Date
    Nov 2008
    Posts
    25
    Plugin Contributions
    0

    Default Re: Can't Figure It Out

    Thanks again! It fixed the problem.

 

 

Similar Threads

  1. Can't figure out this
    By JayR in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 27 Jan 2010, 02:49 AM
  2. Something I can't figure out.
    By holley2346 in forum General Questions
    Replies: 3
    Last Post: 5 Feb 2009, 09:35 PM
  3. can't figure it out!
    By runoka in forum General Questions
    Replies: 9
    Last Post: 3 Oct 2008, 01:59 PM
  4. Help! I can't figure this out
    By rjspomer in forum Basic Configuration
    Replies: 1
    Last Post: 6 Feb 2008, 06:08 AM
  5. I can't figure this out
    By Hidetomo in forum General Questions
    Replies: 1
    Last Post: 30 Nov 2007, 05:22 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