Post by lfreem2 » Mon Jul 16, 2012 3:31 am

I am in a heavily modded version of the default theme in 1.5.3. I am trying to figure out how to change the size of the font size of my product names as they appear as too large for my taste. Any ideas on where to do this. I've looked in the product.tpl, but don't see anything specific. In the Shopping Cart, I would also like to change the size of the word SHOPPING CART for the same reason. Just way too big.

Any ideas would be great!

New member

Posts

Joined
Mon Jun 18, 2012 12:42 am

Post by bigchili » Mon Jul 16, 2012 4:43 am

You would modify the font size in your CSS file

catalog/view/theme/default/stylesheet/stylesheet.css

User avatar
Active Member

Posts

Joined
Wed May 16, 2012 3:00 am


Post by lfreem2 » Mon Jul 16, 2012 5:09 am

yes, I know that, but I want to know exactly what bit of code there affects the size of the product name. I have changed a few font sizes, but have not found the right bit of code affecting the product title. I need someone to be very specific.

New member

Posts

Joined
Mon Jun 18, 2012 12:42 am

Post by bigchili » Mon Jul 16, 2012 5:12 am

If you are using the default theme, then the product titles use the H1 tag, so you would change the font-size in the following code:

Code: Select all

h1, .welcome {
    color: #636E75;
    font-size: 32px;
    font-weight: normal;
    margin-bottom: 20px;
    margin-top: 0;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.01);
}
If you don't want to adjust the Welcome module's title size, you will need to take out that rule above and then add a couple new rules like so:

Code: Select all

.welcome {
    color: #636E75;
    font-size: 32px;
    font-weight: normal;
    margin-bottom: 20px;
    margin-top: 0;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.01);
}
h1 {
    color: #636E75;
    font-size: 32px;
    font-weight: normal;
    margin-bottom: 20px;
    margin-top: 0;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.01);
}

User avatar
Active Member

Posts

Joined
Wed May 16, 2012 3:00 am


Post by lfreem2 » Mon Jul 16, 2012 5:22 am

Perfect! That was exactly it! Thanks for your assistance! Oh yeah!

New member

Posts

Joined
Mon Jun 18, 2012 12:42 am

Post by xdreamer » Wed Nov 07, 2012 3:25 pm

Perfect. Thank you!

User avatar
Newbie

Posts

Joined
Thu Nov 01, 2012 12:36 pm


Post by SteveWylde » Fri Jan 18, 2013 1:49 pm

Exactly what I needed, thanks BigChili!

New member

Posts

Joined
Wed Nov 21, 2012 6:14 am
Who is online

Users browsing this forum: No registered users and 3 guests