Jump to content

Mobile CSS


jk2125

Recommended Posts

The "latest version" of CubeCart ships only with the Foundation skin. However, you may have carried over other skins during an upgrade from CC5, or installed other skins after getting CC6 up and running.

The CSS for a skin belongs in that skin's folder. So, for Foundation, look in /skins/foundation/css/. For Kurouto, look in /skins/kurouto/styles/.

The Foundation CSS is incredibly complicated. However, rules in the file cubecart.default.css will override any other CSS rule. Add your custom CSS rules here for Foundation.

Foundation is a "mobile-capable" skin. The CSS of it requires the browser to know how large the browser viewport is and display, hide, and size things accordingly. Because Foundation is mobile-capable, CubeCart will not autoswitch to separate "mobile-specific" skin as described below.

Many other skins are not mobile-capable. When using such a skin, CubeCart will auto switch to using a completely different "mobile-specific" skin. The mobile skin that is available from the Marketplace is called Mobile. It's CSS rules are at /skins/mobile/styles/.

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