Page 1 of 2 12 LastLast
Results 1 to 10 of 19
  1. #1
    Join Date
    Jan 2010
    Location
    Broome
    Posts
    325
    Plugin Contributions
    0

    Default Styling h1 Product Name

    Hi .. using web dev toolbar ..

    h1#productName .productGeneral {
    font-size:0.8em;
    color:#ccc;
    font-weight:normal;
    font-variant:small-caps;}

    WHY isnt this working?????

    Thanks for your thoughts

    Site is: http://www.rosedakinjewellery.com.au...products_id=15
    Last edited by wotnow; 3 Aug 2010 at 12:57 PM. Reason: forgot to add site and have em em for font size

  2. #2
    Join Date
    Jul 2010
    Posts
    79
    Plugin Contributions
    0

    Default Re: Styling h1 Product Name

    If you just want to style the H1, then just look for H1 by itself.
    Here you are styling .productGeneral and not H1.
    That CSS says stlye anything named .productGeneral that's inside a #productName tag that's inside an H1 tag.


    Edit: Sorry I mistook Hi for H1, lol.

  3. #3
    Join Date
    Aug 2009
    Location
    Longs, SC
    Posts
    626
    Plugin Contributions
    2

    Default Re: Styling h1 Product Name

    Quote Originally Posted by wotnow View Post
    Hi .. using web dev toolbar ..

    h1#productName .productGeneral {
    font-size:0.8em;
    color:#ccc;
    font-weight:normal;
    font-variant:small-caps;}

    WHY isnt this working?????

    Thanks for your thoughts

    Site is: http://www.rosedakinjewellery.com.au...products_id=15
    Try this:
    h1#productName, .productGeneral

  4. #4
    Join Date
    Jul 2010
    Posts
    79
    Plugin Contributions
    0

    Default Re: Styling h1 Product Name

    You need a space inbetween h1 and #productName.

  5. #5
    Join Date
    Jan 2010
    Location
    Broome
    Posts
    325
    Plugin Contributions
    0

    Default Re: Styling h1 Product Name

    Thanks for your input .. i had already tried adding the space and many other variations but its still not working. With the addition of the comma .. it styles the whole description as well.

  6. #6
    Join Date
    Aug 2009
    Location
    Longs, SC
    Posts
    626
    Plugin Contributions
    2

    Default Re: Styling h1 Product Name

    Quote Originally Posted by wotnow View Post
    Thanks for your input .. i had already tried adding the space and many other variations but its still not working. With the addition of the comma .. it styles the whole description as well.
    Sometimes it just takes a fresh set of eyes.

  7. #7
    Join Date
    Jan 2010
    Location
    Broome
    Posts
    325
    Plugin Contributions
    0

    Default Re: Styling h1 Product Name

    And the fresh set of eyes see how to style this?

  8. #8
    Join Date
    Jul 2010
    Posts
    79
    Plugin Contributions
    0

    Default Re: Styling h1 Product Name

    Did you try and put } onto the next line?
    Right now you have it at the very end of that line, and maybe it has to be on a seperate line.

  9. #9
    Join Date
    Jul 2010
    Posts
    79
    Plugin Contributions
    0

    Default Re: Styling h1 Product Name

    And I believe you need a space after :

    Try this:
    Code:
    h1 #productName .productGeneral {
    font-size: 0.8em;
    color: #ccc;
    font-weight: normal;
    font-variant: small-caps;
    }
    And I think .8 is pretty small for a header size.

  10. #10
    Join Date
    Jul 2010
    Posts
    79
    Plugin Contributions
    0

    Default Re: Styling h1 Product Name

    I coloured the H1 red.

    Last edited by FragaGeddon; 4 Aug 2010 at 02:13 AM.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Styling a product page
    By oberheimer in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 4 Aug 2011, 10:09 AM
  2. Styling Product Boxes on Homepage
    By TEROBOT in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 17 Jul 2011, 09:02 AM
  3. Styling Product Price
    By rocketscientist in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 29 Dec 2010, 05:42 AM
  4. Product List Styling
    By coxdabd in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 8 Nov 2010, 09:46 AM
  5. Styling Main Product Page
    By dkervin in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 2 Oct 2010, 01:21 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