Jump to content

how can I add header navigation bar?


Guest akssi

Recommended Posts

Is it that easy?! :o

I cannot check it on my store now (have problems with FTP), but if it's all that I have to modify, I'm falling in love with CubeCart :)

Link to comment
Share on other sites

I've done something similar with the Classic skin, http://littleangelsfashion.com/ and with the Legend skin at http://cc3.biz/

I like to create a new i.d. selector in layout.css, you could call it #navBar, and set styles for it there. Then, code the bar into a division below your header, like:

<div id="navBar">

<anchor link>text</a> |

<anchor link>text</a> |

<anchor link>text</a> |

</div>

etc., of course I just put the {SITE_DOCS} in there and aligned to the right or centered . . . :rolly:

Link to comment
Share on other sites

I've done something similar with the Classic skin, http://littleangelsfashion.com/ and with the Legend skin at http://cc3.biz/

I like to create a new i.d. selector in layout.css, you could call it #navBar, and set styles for it there. Then, code the bar into a division below your header, like:

<div id="navBar">

<anchor link>text</a> |

<anchor link>text</a> |

<anchor link>text</a> |

</div>

etc., of course I just put the {SITE_DOCS} in there and aligned to the right or centered . . . :rolly:

Markscarts,

Speaking of moving the doc links to under the header, how would you think I could go about having each one placed inside of a tab. Such as say This msn page ?

The hardest part would be having them autoadjust and having the end image look proper as an end yet also look as though it is meant to overlap the next.

Any ideas would be great thanks.

Link to comment
Share on other sites

That is all done with background images, similar to the way Killer uses images to create "tabs" for category titles.

You'd have to tie the layout in with styleTemplates/boxes/siteDocs.tpl, as that contains a loop that causes all the site docs to display on index with single {SITE_DOCS} or somesuch variable.

Go for it! No guts no glory :P

EDIT: You might want to look at Twisted's tutorial on CC2 about "Change the Look of Your CubeCart Completely" - although it is about version 2 of CC, it is a good, informational manual about using images to make a fancy page :rolly:

Link to comment
Share on other sites

Hmm,

I might do just that. Well that is off course as soon as I have read this book on php and MySQL. Trying to learn a little.

Ive seen people being able to do so many things in php I though it about high time I joined the many ranks of coders, so err....Watch this space??? ROFlmao. (as if, I reckon it would take me a few years yet).

Regards,

Tom.

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