Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Jan 2009
    Posts
    118
    Plugin Contributions
    0

    Default H2 (Price font) specific code

    I need to change the color of my prices (right now it's white and can't be seen with white background)...

    i can change the color of H2 (which is what prices are) but then it also changes the color of my headings for new items and featured items (and i'd like for them to stay white)...

    i tried this... but no luck...

    Code:
    h2.#productprices {
    	color:black;
    	}

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

    Default Re: H2 (Price font) specific code

    just for sake of it , you may try this ..
    create a h2 tag first

    h2 {
    color : white;
    }

    now
    h2.#productprices {
    color:black;
    }

    shouldn't be effected .. thats what i assume , since no one seen your site live

  3. #3
    Join Date
    Jan 2009
    Posts
    118
    Plugin Contributions
    0

    Default Re: H2 (Price font) specific code

    I sort of trying to get the page up and running before i put in online)... i've tried your suggestion, but no luck ;0(

    anyone has a specific tags i need to use to isolate product price colors (the one on product detail page)?


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

    Default Re: H2 (Price font) specific code

    this should work . because is working on my system


    #productPrices {
    color:yourcolor;
    }

    make sure that price is Price , this is case sensitive ..

  5. #5
    Join Date
    Jan 2009
    Posts
    118
    Plugin Contributions
    0

    Default Re: H2 (Price font) specific code

    thanks TONY... if i'll ever make any money off this site, i'll buy you some beer ;0)

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

    Default Re: H2 (Price font) specific code

    thanks for the offer and wish you the best with your business . and hopefully , if you make lots of money , you can alway donate to zencart :) as they are the one that needed to be thanked and not me

  7. #7
    Join Date
    Jan 2009
    Posts
    118
    Plugin Contributions
    0

    Default Re: H2 (Price font) specific code

    Ahh... i keep running into same problem with other parts of my page...

    because most of my site has white background and my h2 text has white color, i keep running into more places where some of the headers are invisible (not per my intention)...

    all of this started with me needing to change color for New Products and Featured Products in main column to white (as i use red background there)....

    any chance somebody can let me know the statement to use in CSS to isolate those two headers (thus letting me use something besides white for default h2 color)...

    i tried firefox's web developer tool to find it... but the path is too long, and it cuts off the end of the statement (thus not letting me see the important part)...

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

    Default Re: H2 (Price font) specific code

    Try using .leftBoxHeading (and .rightBoxHeading if you need it) to set your headings to white where the background is red. Then turn your general H2 selector back to black or whatever you want.

    Rob

  9. #9
    Join Date
    Jan 2009
    Posts
    118
    Plugin Contributions
    0

    Default Re: H2 (Price font) specific code

    thanks for advice... but i don't think it'll work... the Featured and New products heading are the ones i use in the main column (at the end of the product lists....)

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

    Default Re: H2 (Price font) specific code

    In which case it would be .centerBoxHeading

    Rob

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 price class missing, can't change price font color
    By kitkitng in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 11 Jun 2012, 05:51 AM
  2. 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
  3. How to set a specific shipping price for a specific product?
    By mmambou in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 2 Feb 2009, 04:34 PM
  4. Change font specific sidebox
    By Goofy in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 24 May 2007, 09:02 AM

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