Jump to content

Recommended Posts

Posted

In CC6, Foundation skin, I wish to reduce the font size of titles of doc pages. They are way too big! 
I can locate .css but not sure which H1, H2 tag to edit. I'm new so,  any help much appreciated. Thx

Posted

It is best not to try to edit the CSS of Foundation directly. In the file cubecart.default.css, add this rule:

.document_wrapper h2 {
  font-size: 1.0rem;
}

Foundation has <h2> tags at 2.3125rem everywhere. We are just interested in the <h2> tags contained within the document.

Posted (edited)

Hi.

My web host installed CC and I'm having trouble finding the  right file to make suggested change. Sorry, the file manager tree looks very messy... cubecart.default.css 

Edited by Paul 0'Reilly
Posted

Hi, I added this: 

html * {
    font-family: 'Open Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
}
.document_wrapper h2 {
  font-size: 1.0rem;
}

but title doesn't look much smaller - I tried 0.9rem; not sure had any effect tho.

Posted

This is the odd one -- all the documents use the template content.document.php template, but the Homepage, even though it has a document, uses the content.homepage.php template.

So, in addition to what you added to cubecart.default.css, add this as well:

#content_homepage h1 {
  font-size: 1.0rem;
}

 

Posted

Nice one.

I upsized the rem a wee bit - all works!.

Dare I ask 1 more? Which HTML tag changes colour /size of linked text?

I want to go from light blue to a teal green from client's main website and a wee bit smaller.

You have been very helpful !

 

Posted

Allow me to offer instruction on how you can manage this yourself:

For Firefox and Chrome, right-click on the thing you want to know more about and from the context menu that pops up, select Inspect Element. You will be shown a fair bit of info about what is happening to make the thing look like it does.

For Firefox, there is a better tool addon called Firebug.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...