Jump to content

adding a block


Guest clericnmf

Recommended Posts

Guest clericnmf

You know you have things like favorite products blocks etc on the page. I wish to add some custom ones with custom content. For example a picture.

Link to comment
Share on other sites

Visit www.cubecart.org

Look in the CC3 free mods section for a tutorial, "Manipulating Boxes in CubeCart 3"

To add a side box in Classic or Legend skin:

<div class="boxTitleLeft">TYPE A TITLE HERE</div>

<div class="boxContentLeft">

TYPE YOUR CONTENT HERE. THIS COULD BE TEXT

OR AN IMAGE WITH HTML IMG TAG

</div>




To add a side box in Killer skin:




<div class="boxTitleLeft">TYPE A TITLE HERE</div>

<div class="boxContentLeft">

TYPE YOUR CONTENT HERE. THIS COULD BE TEXT

OR AN IMAGE WITH HTML IMG TAG

</div>

<div class="boxFootLeft">&nbsp;</div>

As to where to put the code, try skins/xx/styleTemplates/gglobal/index.tpl

All is explained more fully in the tutorial.

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