Results 1 to 9 of 9
  1. #1
    Join Date
    Jun 2006
    Posts
    403
    Plugin Contributions
    0

    help question How to make this font smaller?

    I have been playing with CSS for hours and still didn't get it fixed. So I posted it here for advice.

    In my site (www.best4future.com), under the category, for example, "1st and 5th grade" (http://www.best4future.com/learn-chi...th-grade-c-1_2), there listed books like "aladdin and his magic lamp", "Ailbaba and forty thieves" and etc.
    Their fonts are controlled by h3 class="itemTitle"

    When you scroll down, you see books listed under "New products for October".

    You will notice the fonts of "aladdin and his magic lamp", "Ailbaba and forty thieves" and etc are larger than the titles under "New products for October".

    I want all the titles to look about the same size, so I added

    h3.itemTitle a {
    font-size: 1em;
    color: #0287b2;
    text-decoration:none;
    }

    In the CSS to make the fonts of "aladdin and his magic lamp", "Ailbaba and forty thieves" smaller. But it doesn't work.

    I am really confused.. Any guidance? Thank you!

  2. #2
    Join Date
    Oct 2009
    Location
    Smack in the Middle
    Posts
    131
    Plugin Contributions
    0

    Default Re: How to make this font smaller?

    I'm probably the wrong person, but this is how I changed it in firefox/firebug.


    .itemTitle {
    font-size: 1.em
    }

    Placed at the bottom of your stylesheet.css

    Good Luck

    Dalton
    Skin that 'un pilgrim, and I'll bring ya' another.
    Running 1.3.9h with a few mods here

  3. #3
    Join Date
    Jun 2006
    Posts
    403
    Plugin Contributions
    0

    Default Re: How to make this font smaller?

    Quote Originally Posted by daltonkost View Post
    I'm probably the wrong person, but this is how I changed it in firefox/firebug.


    .itemTitle {
    font-size: 1.em
    }

    Placed at the bottom of your stylesheet.css

    Good Luck

    Dalton
    Thank you for the tip. I did as you advised. It seemed not working, at least in my computer.... I am using IE8.

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: How to make this font smaller?

    Both .itemTitle {font-size:1em;} and h3.itemTitle {font-size:1em;} work for me on your site in both IE8 and Firefox.

  5. #5
    Join Date
    Oct 2009
    Location
    Smack in the Middle
    Posts
    131
    Plugin Contributions
    0

    Default Re: How to make this font smaller?

    h3 {
    font-size:1em;
    font-weight:normal;
    }

    You might try changing this found around line 50 in your stylesheet.

    Both .itemTitle {font-size:1em;} and h3.itemTitle {font-size:1em;} work for me on your site in both IE8 and Firefox.
    Me too.

    Good Luck

    Dalton
    Skin that 'un pilgrim, and I'll bring ya' another.
    Running 1.3.9h with a few mods here

  6. #6
    Join Date
    Jun 2006
    Posts
    403
    Plugin Contributions
    0

    help question Re: How to make this font smaller?

    Hello, stevesh and daltonkost:

    Thank you so much for your help! Just be curious, do you already see the fonts of my site get smaller on your brower, or do you have to edit the CSS in in firefox/firebug to see the change?

    The reason I ask is my hosting company is changing the server, so may be the changes I put into the PHP and CSS don't affect the site alive. Maybe that is why I worked on for hours and didn;t see any difference at all.....

    Lina

  7. #7
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: How to make this font smaller?

    No, I have to edit the stylesheet in Web Developer to see any change, and I don't see any other styling for .itemTitle in the stylesheets now.

  8. #8
    Join Date
    Jun 2006
    Posts
    403
    Plugin Contributions
    0

    Idea or Suggestion Re: How to make this font smaller?

    Hello, stevesh and daltonkost:

    Yes, it is the server problem. Somehow the site doesn't take changes I did on PHP and CSS via FTP. Now it is working. Thank you so much, stevesh.

    Lina

  9. #9
    Join Date
    Jun 2006
    Posts
    403
    Plugin Contributions
    0

    help question Re: How to make this font smaller?

    Hello,

    I have another idea to make the font smaller. I want to delete the so called <div H3 itemtitle> from the template and match the font of centerBoxContentsProducts with centerBoxContentsNew.

    Do you know where I can find this code?

    Lina

 

 

Similar Threads

  1. v139h How do I make a Text Attribute input box smaller?
    By dandandanpie in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 7 Mar 2012, 08:22 PM
  2. Replies: 4
    Last Post: 8 Jan 2012, 08:51 PM
  3. How would i make the box smaller???
    By hcd888 in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 5 Oct 2009, 01:33 AM
  4. how to make header smaller
    By james739 in forum General Questions
    Replies: 5
    Last Post: 12 Jul 2008, 09:56 AM
  5. how to make header smaller
    By james739 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 12 Jun 2008, 02:24 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