Shopping Cart

Cody Larson's Avatar

Cody Larson

03 Jun, 2010 07:34 AM via web

So I am building an e-commerce site and I need a way to include a shopping cart icon. I am trying to put one in the header and what I have had to do is embed the icon with HTML in a div. Then I use CSS to push the thing up into the header where I want it. The problem is that I have to do this to EVERY SINGLE PAGE!!! I absolutely love rocketship but I need a way to place something in every page that I have. Maybe a better header interface would work well. Maybe you could have a way to upload HTML for the header. This would solve a lot of problems. For instance you could put whatever text you want with the necessary padding/margins. Plus you could even make multiple divs in the header. Yyou could even have the logo on the left and float a contact number to the right. Thanks for making rocketship this good, I can't wait for the improvements.

  1. 2 Posted by Cody Larson on 03 Jun, 2010 07:35 AM

    Cody Larson's Avatar

    And if you are curious my site is www.whitewashdesign.launchrocketship.com

  2. Support Staff 3 Posted by Nathan on 03 Jun, 2010 03:18 PM

    Nathan's Avatar

    Hi Cody,

    There is a way to add content to the header, we just don't turn it on
    by default. In the header is a content region (#site-header-content)
    that can be turned on by giving display:block !important in site.css.
    For example:

    #site-header-content { display:block !important; }

    It behaves like the footer region: you can add content on the home
    page and it will display site wide.

    Also, there are a couple of other regions that are hidden by default:
    #page-header and #page-footer.

    Glad you like Rocketship!

    -Nathan

  3. 4 Posted by Cody Larson on 05 Jun, 2010 12:19 AM

    Cody Larson's Avatar

    Thanks Nathan, that is fantastic. It worked wonderfully.

  4. Nathan closed this discussion on 05 Jun, 2010 02:51 AM.

Comments are currently closed for this discussion. You can start a new one.