Results 1 to 9 of 9
  1. #1

    Default Center Box Font Color in Stylesheet?

    Hi all,

    First, yes I searched the FAQs, then I searched in the forum, read a lot of unrelated stuff looking for solutions....
    I did find a thread where someone had the same question, then they said they somehow fixed it, but couldn't say how!

    I have successfully changed the two Sidebox Background colors to black and the Font colors (to white).
    I also changed the Center boxes to black, but tried what I think has been every place in the Stylesheet (custom), and have not found the place to change these titles to white:
    "Featured Products", "Monthly Specials for February"

    Could anyone point me to the correct way to do that? It was so easy to change the Side Boxes......
    Thanks...

    http://www.mallardspring.com/

    Zen Cart 1.3.7.1 (the second version that I've had for this site; what a pain that upgrade was....)

    I am not very good at designing this Main page. Here and there I do something with it.
    Still need to
    - make a strip of images across the top; with Mallard Spring Line centered below those. Couldn't seem to get that Adventure line centered...
    - get rid of the empty space below Welcome!
    - figure the right way to downsize the two logos (Fenix, AMK), without adding what appears to be whitespace around the downsized image, when I go to past them back in...

  2. #2
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Center Box Font Color in Stylesheet?

    i guess you are missing this style from your stylesheet.css

    h2.centerBoxHeading
    color:#FFFFFF;
    font-size:1.3em;
    }

    add this to the end of your stylesheet.css and see if this will help out.

  3. #3
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Center Box Font Color in Stylesheet?

    spacing issue in main page might be the result of copying and pasting from Microsoft Word document , you have added one too many <p> tags and many style elements that are not used on the web but only within microsoft products.

  4. #4

    Default Re: Center Box Font Color in Stylesheet?

    tony_sar,

    Thanks,
    I'll add that, I did not find it in there.

    Space, probably correct, since I tend to use Word...

  5. #5

    Default Re: Center Box Font Color in Stylesheet?

    ok, looking a bit better.....

  6. #6
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Center Box Font Color in Stylesheet?

    you still have tons of MS word styling added to your page , its not really good idea to copy past from WORD .. use the editor provided in admin , or use a program that wont bloat your page with useless stuff like word dose .

  7. #7
    Join Date
    Feb 2009
    Posts
    419
    Plugin Contributions
    0

    Default Re: Center Box Font Color in Stylesheet?

    It would be best to use another text editor other than Word.
    Notepad is a good alternative until you obtain a program specifically made for website design.

    Keep up the good work ... you are getting closer everyday!

  8. #8
    Join Date
    Mar 2009
    Location
    Peterborough UK
    Posts
    336
    Plugin Contributions
    0

    Default Re: Center Box Font Color in Stylesheet?

    Hi All
    I know this an old thread but as my query is a little close to the one asked I thought it would be better to post here rather then start a new thread.

    I have changed my centre box heading on the home page for the featured products to Mega deals. I am only changing this while I have a sale on in January. What I would like to do is change the background color for only the featured box and not all centre boxes.

    I tried to do it through the stylesheet but all centre boxes are listed together like

    .centerBoxHeading{
    margin: 0em;
    background-color: #1560BD;
    border-left: 7px groove #CE6700;
    border-right: 7px groove #CE6700;
    border-bottom: 7px groove #CE6700;
    border-top: 7px groove #CE6700;
    /*background-image: url(../images/cathead1.gif);*/
    padding: 1.0em 0.2em;
    }

    so I tried to create a rule for the featured box like so

    .featuredBoxHeading{
    background-color: xxxxx;
    }

    However this didnt work.

    Could you please advise how I could make a rule through css which will change the featured box only

    thanks

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

    Default Re: Center Box Font Color in Stylesheet?

    Code:
    #featuredProducts h2.centerBoxHeading {
        background-color: xxx;
        }
    If you had the Firefox Web Developer extension you could have found that selector combination in a few seconds.

 

 

Similar Threads

  1. Changing font color on specific page in stylesheet.
    By georgespokerstore in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 30 Jun 2010, 08:33 PM
  2. Change color of font in center navigation bar.
    By haleasdollclothes in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 7 Jun 2009, 08:14 PM
  3. change center box header font color
    By Makoshark in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 23 May 2009, 08:22 PM
  4. Font Weight for Center Box
    By Berserker in forum General Questions
    Replies: 8
    Last Post: 16 Apr 2009, 02:23 AM
  5. Font color in center of page
    By PetesTown in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 30 Jul 2007, 09:44 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