Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

 

I am using the smartwatch theme and I want to customize the content of the HTML blocks such as £3.99 flat rate shipping and 30 day stress-free returns etc.. 

When I edit those blocks, I see content such as ##TEXT_30_DAY##. Whenever I try to change this content, I lose the styles and the icons. How can I customize the text and the icons and keep the styles?

image.thumb.png.dc43cdaa24b113f1fbe03af62dfe63c1.png

Posted (edited)

I figured. The text comes from Design and CMS > Translation. But even when I use that, I am missing the icons and I am unable to select a font family or align the text. Any help is highly appreciated. 

Edited by jessicana
  • 3 weeks later...
  • 2 weeks later...
Posted (edited)

Hi @jessicana,

Changing the text using the "Design & CMS -> Translation" option should not affect the icons as they are part of the template - it appears that somehow you may be missing the ::before psedo-element from your template. 

Check using the developer tools in your web browser.

 

image.thumb.png.1428a51c366130fa8131cf2690f100f2.png

image.thumb.png.0bd9f82d8f0da602d8dcf1d7f3e45b28.png

image.thumb.png.3869cc6027c346bfe7e765911dc4ec52.png

 

If it is missing - add it back in.  Make sure you have "expert mode" selected before editing the theme

image.png.626b43cc1ef5544749a0eeebb4dbe51b.png

Edit the theme, select the home page then hover over the item and click the green pencil

image.png.7ccc0db4044d27e163e71767927a3aad.png

In the popup window, make sure the HTML text is ##TEXT_SAFE_SECURE## then click "Widget Style" TAB

image.png.d4e0b7adfec8b8af5056a9518495b3ae.png

 

Then click "Pseudo classes, :before"  - Make sure the class is set to "local_shipping local_shipping3" (for the padclock icon)

 

image.thumb.png.88c3f2b53c4a316dc14bdfc07e77ad69.png

 

 

 

Alternatively - Depending on how much work you have done, you could try a reinstall of the theme -  make sure you have a backup incase your translations are reset! or something - I've not tried this as I've not needed to do it

 

 

Edited by CHD-UK

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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...