Jump to content

foundation thumbnail text


huggettm

Recommended Posts

In the file cubecart.default.css, add:

.product_list h3 {
    font-size: 1.25rem;
}

Adjust the font size to suit. The rem is a size that is a scale factor to the original font size used on the page - which, for Foundation, is not declared, but rather has the browser use its default font size as set in the browser's Options page.

Link to comment
Share on other sites

  • 3 weeks later...

Rid the site of those little bits of text... they just dont sit right and feel they'd look better without them! :)

 

Tried your suggestion above and putting them to 

 

.product_list h3 {
    font-size: 0.01rem;
}

 

but seemingly doesn't make them any smaller/disappear

 

Link to comment
Share on other sites

That code is for the product (short) description shown in product lists (homepage, categories, sale items, and search results).

Apart from editing the skin template code, there is no specific CSS selector to affect a change to the subcat captions.

In content.category.php:

From:

<a href="{$subcat.url}" title="{$subcat.cat_name}"><small>{$subcat.cat_name}</small></a>

To:

{* <a href="{$subcat.url}" title="{$subcat.cat_name}"><small>{$subcat.cat_name}</small></a> *}

You can try:

.category_wrapper #main_content li small {
	display: none;
}

But this could! target more than just the image captions.

Edited by bsmither
Link to comment
Share on other sites

Making changes to a skin template now probably requires that the template rendering engine's cache be cleared. (Admin, Maintenance, Rebuild tab, Clear Cache.)

I added more to my response, so please refresh this forum page.

Link to comment
Share on other sites

23 minutes ago, bsmither said:

Making changes to a skin template now probably requires that the template rendering engine's cache be cleared. (Admin, Maintenance, Rebuild tab, Clear Cache.)

I added more to my response, so please refresh this forum page.

Tried that too :)

 

Link to comment
Share on other sites

Restored the folder for foundation and copied across the file changes... i  thought i'd managed to get it working.. albeit it's killed the page for anyone new to the page... 

Although on my machine.. the changes i wanted have worked. 

 

Any ideas? would rather not have to rebuild the site *sigh*

 

Link to comment
Share on other sites

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...