Jump to content

[Resolved] Icons TOO big


njohn

Recommended Posts

Note that anyone that has visited your store before will likely have the same problem and not know to clear their browser cache; since the icon sizing is handled in the css file, a simple trick to force their browsers to re-download the css file is to edit the css url your skin's `/templates/main.php` file and add `?v=1` or a similar parameter to the `cubecart.css` url:

// original line 22:
<link href="{$STORE_URL}/skins/{$SKIN_FOLDER}/css/cubecart.css" rel="stylesheet">

// change to:
<link href="{$STORE_URL}/skins/{$SKIN_FOLDER}/css/cubecart.css?v=1" rel="stylesheet">

I'm pretty sure that the CSS file can still be cached, but if not you can always change it back after a week or two - the extra time it might take to download the .css file is far more acceptable than having visitors see a store with giant mangled icons, in my opinion.

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