This article will show you exactly how to use Cart Designer to completely change the look of the theme you've chosen, so it matches your business. This lesson uses specific images and colors, but can easily be completed with your own. If you follow this lesson exactly, you will get a good grasp of how to make the major design changes, as well as how to use Firebug to fix CSS. If you haven't already, see Part 1 - The Tools and Part 2 The Logic.


In some sections, I go over in detail how to use Firebug to find CSS. If you prefer, you can just copy the CSS at the end of the section and apply it directly to your theme.


Complexity Level: Advanced

Estimated Time for Completion: 2 hours

Applies to Version(s): 3.7.X - 3.8.X series


In this article, you will learn:

The Plan

Prepping for Design

Changing the Background

Inserting the Header Background

Swapping out the Logo

Switching Out the Home Page Image

Using Firebug to Find CSS, Edit it and Copy it Into Your Website

Using CSS to Align the Logo

Update the Checkout Box

Changing the Widget Colors

Changing the Footer Colors

Changing the CSS of the Product Price Boxes

Reducing the Drop-Shadow on the Footer

Changing the Color of the Buttons

Adjusting the Header Alignment

Aligning the Right Column

Adding Text Over Your Home Page Image


The Plan


For this lesson, we will be using the Elegant Vibe theme. Most of the lessons learned here will apply to every theme.


You can use your own images for this theme. The images we're using will be available to download for each step in the plan. If you follow this lesson exactly and use the images provided, it should provide you with everything you need to know to design with your own assets.


We will be going from this:


theme


To this:


final theme result


Don't mind the home page products. Those are not changed through Cart Designer but in the Products section of the admin. See Adding a Product for a walkthrough on that.



Prepping for Design


This section is an overview of how I went about designing my site. 


        1. First I went to my site with Elegant Vibe enabled (to enable this theme, in your admin area, go to Design > click Activate under Elegant Vibe). I navigated to the home page, used the Windows Snipping Tool, took a screenshot and saved it.


        2. I then opened up Adobe Photoshop > went to File > Open and opened up the screenshot.


open adobe photoshop


        3. Next, I used Guides in Photoshop to make a grid out of the different elements of my site. This way I know where to lay out my custom elements.


adobe photoshop grid


        4. I then layout how I want my custom elements to look, like so:


layout


        5. Finally, I took each of these elements in Photoshop and saved them into separate image files. These are the images attached throughout the article below.



Changing the Background


        1. Once you have the image, go to Design > Cart Designer in your admin area.


        2. Click Advanced Tools > Styles editor.


        3. Click Site global styles > Background > Site Background.


        4. Click select image. Navigate through your computer to where you saved the downloaded image. Open it.


        5. Now, to make sure the rest of the background stays white, click in the color field and drag the color picker to the top left corner. Click Save. Click Close and then OK to refresh. Once the page reloads , you will see the image has taken over. Don't worry about alignment issues yet.


change background



Inserting the Header Background


        1. Go to Advanced Settings > Styles editor.


        2. Go to Site global styles > Header > Site header container. The container is the entire width of the site, while the Site header is just in the center.


        3. Click select image. Navigate through your computer to where you saved the downloaded image. Open it.


        4. Click Save. Click Close and then OK to refresh. Once the page reloads, you will see the image has taken over.


Note: In this gif, you will notice the header background image doesn't have a drop-shadow. This is because I accidentally saved it in Photoshop incorrectly originally. It does contain a drop-shadow in the download above and in later gifs.


insert header background




        1. Go to Edit Site Images.


        2. Next to Site logo, click Browse.


        3. Navigate through your computer to where you saved the downloaded image. Open it.


        4. Click Save.


        5. Click Close, then click OK to refresh.


swap logo


See How do I create a Logo? for a good article on how to create your own logo. See Adding / Editing Your Logo Using Cart Designer for more information on who to perform this step.



Switching Out the Home Page Image


        1. Go to Edit Site Images.


        2. Next to Home Page Image, click Browse.


        3. Navigate through your computer to where you saved the downloaded image. Open it.


        4. Click Save.


        5. Click Close, then click OK to refresh.


switch home page image



Using Firebug to Find CSS, Edit it and Copy it Into Your Website


Firebug is one of the best tools at your disposal as a web developer. It's a free add-on for Mozilla Firefox. There are other developers' tools which work similarly for other browsers.



Note: In recent versions of Firefox, Firebug is now native to the browser and doesn't require an install. Use F12 or right-click > inspect element to bring it up. In addition, most browsers, like Chrome, have a DOM inspector just like Firebug that is built-in and can be used in a similar manner.


To install Firebug, in Firefox go to your menu and select Add-ons. In the search box at the top-right, type Firebug and hit enter. Next to Firebug, click Install. Accept any prompts and restart your browser if necessary.


Firebug has many uses, and one of the most common (and the one we'll be using for this tutorial) is the ability to see CSS, make changes to it, and see how those changes will look in real-time.


When you right-click section of a website, you will see an option for Inspect Element with Firebug. You will see a mini window pop-up that will show the CSS of that element. If you add CSS to that element in Firebug, you will see it take effect on the website in real-time. Obviously, you're not actually making changes to the CSS, since it resides on the server. So, once you've made CSS changes that you like, copy the CSS and paste it into the CSS file on the server for it to take effect.




Now, we will use Firebug to determine where we want the logo, since it's not aligned with how we set it up in Photoshop.


First, it's a good idea to have Cart Designer open in one tab, and your home page opens in another. You can also open up your home page in an incognito window or another browser to make sure the Cart Designer cookie doesn't apply if you happen to refresh the page.


        1. On the front page of your site, right-click on the logo and choose Inspect Element with Firebug.


Make sure that the HTML tag is selected in Firebug. If it's not highlighted, go ahead and click <div class="logo"> to highlight it.


        2. In the Style section on the right, you should see:


.logo  {
     margin-top: 25px;
 }


Double-click to the right of this element and Firebug will open up a new style underneath margin-top. Type in margin-left. It should auto-fill. Click enter once it's in.


A box will appear to the right. Type in 67px. You can use your up and down keys to increase/decrease the pixel number. This will allow you to adjust the logo left and right as needed.


        3. Click on the pixel number to the right of margin-top. Use your up arrow to increase the number to 42px.


align logo


The resulting CSS should look like:


.logo  {
     margin-top: 42px;
margin-left:67px;
 }


        4. Now just highlight the CSS in Firebug. Use Ctrl + C (PC) or CMD + C (Mac) to copy.


        5. Switch back to Cart Designer. Click Advanced Tools > Edit custom css.


        6. Paste in the CSS with Ctrl + V (PC) or CMD + V (MAC) . Click Save. Click OK to refresh.


refresh cart designer



Update the Checkout Box


Now it's time to change the background color of the checkout box located in the top right corner (with the login/register link and cart total).


        1. Since I want the color to match what I've designed in Photoshop, I will open back up my site design in Photoshop > Use the Eyedropper tool to select the baby blue color > Double-click the color picker box > and copy the color code found there.


The color code you'll be copying is 21c7E5.



Note: For best results, in Photoshop select the Only Web Colors box to make sure the code you're copying can be used by browsers.


        2. With the code copied, navigate back to your Cart Designer. Right-click on that Checkout box and choose Edit Visual Properties. You'll notice that you're editing the Navigation element in the Styles Editor.


        3. In the Background section, paste that color code into the Color field. Make sure to retain the # symbol.


        4. Click Save.


You should see the color update right away.


update checkout box



Changing the Widget Colors


Now we will change the colors of the Widgets, the panel boxes in the right column. I didn't mock anything up in Photoshop, I just know I want them to follow the same color scheme as the rest of my site.


        1. In Cart Designer, right-click in the navy blue section of any of the boxes and choose Edit Visual Properties.


        2. By default, the element for the specific box you've chosen will come up in the Styles Editor. We want the Global element though, so that all boxes are affected. Click Global styles for all widgets. Underneath this, select Widget content.


        3. In the Background section, first, uncheck the Image box. Paste the color code 21c7E5 into the Color field. Make sure to retain the # symbol.


Note: In the gif below you will notice my color code is different. This is because I pasted over the # symbol. Knowing this would mess up my results, I used my mouse to select the color.


        4. Click Save.


change widget colors


        5. Next, we will change the Widget header background color. I go back to Photoshop and use the Eyedropper to select the purple color in my header image.


The color I'm using is e64ce4.


        6. Copy this color and head back to Cart Designer. Again, make sure to right-click on a widget > select Edit Visual Properties > expand Global styles for all widgets > and this time, select Widget header.


        7. In the Background section, first, uncheck the Image box. Paste the color code e64ce4 into the Color field. Make sure to retain the # symbol.


        8. Click Save. Click Close.


Voila! Our Widget colors now match the rest of the site. However, I still don't like the drop-shadow as it currently stands. I want it to be less intense and drop to the right instead of left.


re-edit colors


        9. First, I use Firebug to mess with the values until I find a drop-shadow I like. I finally settle on the following:


.panel {
    box-shadow: 5px 0 15px 0 #0b151c;
}


        10. Copy this code > go to Cart Designer > Advanced Tools > Edit custom CSS > paste it in at the bottom.


        11. Click Save.


save changes


See Enabling and Creating Widgets Within Your Store for information on how to make your own widgets.




Now we will change the colors of the Footer to match our color scheme.


        1. Access Cart Designer > right-click on the footer and choose Edit Visual Properties.


        2. Expand Footer and select Site footer container.


        3. In the Background section, change the Color field color to 21c7E5. Retain the # symbol.


        4. Click Site footer. In the Font section, click in the Color field and drag the color picker to the top left corner, selecting pure white, or #ffffff.


        5. Click Site footer links. In the Font section, click in the Color field and drag the color picker to the top left corner, selecting pure white, or #ffffff.


        6. Click Save. Click Close.


change footer colors



Changing the CSS of the Product Price Boxes


Now, we will be changing the style of the price boxes below each product. Here, we will be using Firebug again.


        1. Re-copy the color code 21c7E5. Go to the front of your website without Cart Designer active.


        2. Right-click on the box below a product and choose Inspect Element with Firebug.


Make sure that <div class="catalog-product-sale-price"> is selected on the left.


        3. On the right, you should see the following CSS:


.catalog-product-sale-price {
    background: transparent url ("../images/product-info.png") no-repeat scroll center bottom;
    padding: 10px;
}


Double-click on transparent url ("../images/product-info.png" no-repeat scroll center bottom and replace transparent url ("../images/product-info.png" with #21c7E5. Click out of the field to accept it. It will add none next to the color code, as in 'no image'. So the CSS will now look like:


.catalog-product-sale-price {
    background: #21c7e5 none no-repeat scroll center bottom;
    padding: 10px;
}


        4. Copy that CSS from Firebug, and paste it into something like Notepad, so we can have it for later.


inspect element with firebug


        5. Now, go back to the front of your website. Right-click on the actual price and choose Inspect Element with Firebug.


You should be editing the same element, .catalog-product-sale-price. However, now we're just dealing with the font styles. The CSS in Firebug should be the following:


.catalog-product-sale-price {
    font-size: 16px;
}


Color is not defined here, because it's being applied from a parent CSS element. So we will add color. Double-click to the right of 16px; and a new box will appear underneath. Type in color. In the box that appears to the right of color, type in white. The CSS should not look like:


.catalog-product-sale-price {
    color: white;
    font-size: 16px;
}


        6. Copy this from Firebug and paste it into Notepad, underneath the previous CSS.


copy to notepad


        7. Now, right-click on the sale price on the front of your site and choose Inspect Element with Firebug.


You should have .catalog-product-sale-price .sale-price-amount showing on the right. The current CSS should look like:


.catalog-product-sale-price .sale-price-amount {
    color: #990000;
}


        8. I go back to Photoshop to copy the purple color. The color code is e52ce3. Go back to Firebug > double-click on #990000 > delete it > paste e52ce3 in it's place. Click outside the box to apply it.


The CSS should now be:


.catalog-product-sale-price .sale-price-amount {
    color: #e52ce3;
}


        9. Copy this from Firebug and paste it into Notepad beneath the previous two elements.


copy beneath two elements


        10. In Notepad, use Ctrl + A (PC) or CMD + A (MAC) to select all of the CSS text. Copy it.


        11. Go back to Cart Designer.


        12. Click Advanced Tools > click Edit custom CSS.


        13. Paste in the CSS text at the bottom.


        14. Click Save. Then, select OK to refresh.


While working on this I decided I didn't like how big the drop-shadow is coming from the footer. This can be removed or reduced.


adjust drop-shadow




Again, we will be using Firebug for this portion of the lesson.


        1. On the front of your site without Cart Designer active, right-click the footer area and choose Inspect Element with Firebug.


On the right you will see the element .container-footer. The CSS will be:


.container-footer {
    box-shadow: -5px -5px 150px #0b151c;
}


        2. Using my arrow keys I can increase or decrease each pixel number until I'm satisfied with the results. I settle on 0px 0px 15px. The CSS will now be:


.container-footer {
    box-shadow: 0 0 15px #0b151c;
}


Copy this from Firebug.


        3. Open Cart Designer > Advanced Tools > Edit custom css. Paste the CSS at the bottom.


        4. Click Save. Then click OK to refresh.


reduce drop-shadow on footer



Changing the Color of the Buttons


Now we want the color of the buttons to match the purple color we've been using. The buttons use some nifty CSS to pull of the gradients we're seeing.


        1. First, grab that same purple color code, e52ce3. Right-click on the button in Firebug and choose Inspect Element with Firebug. You will see the element input.button, input.reset, input.submit on the right. The full CSS will be:


input.button, input.reset, input.submit {
    background: rgba(0, 0, 0, 0) radial-gradient(ellipse farthest-corner at center center , #ce3030 0%, #a74041 50%, #872f2e 100%) repeat scroll 0 0;
    border: medium none;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    padding: 5px;
}


        2. We only want to edit the background section. Double-click in the area to the right of background. Replace #ce3030 with our color e52ce3.


        3. Next, I use Photoshop to locate darker shades of my color to make the gradient.


Copy this color: af31ad. In the CSS above, replace a74041 with af31ad. This provides the middle color.


Copy this color: 741a73. In the CSS, replace 872f2e with 741a73. This completes the gradient with the darkest purple. The final CSS will look like:


input.button, input.reset, input.submit {
    background: rgba(0, 0, 0, 0) radial-gradient(ellipse farthest-corner at center center , #e64ae4 0%, #af31ad 50%, #741a73 100%) repeat scroll 0 0;
    border: medium none;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    padding: 5px;
}


Copy this CSS from Firebug.


        4. Open Cart Designer. Navigate to Advanced Tools > Edit custom css. Paste in the CSS.


        5. Click Save. Then, click OK to refresh.


change button colors


Now we'll just tweak a few things to make the design look better.



Adjusting the Header Alignment


        1. With Firebug open, click through the different elements on the left side. You will see each time you click on one, the element is highlighted on the website. For this portion of the lesson, you will need to click on <div class="container-header clearfix">. This will be located under <div id="site-container" class="site-container">. On the right side of Firebug, you will see the following CSS:


.page .container-header {
    background-attachment: scroll;
    background-color: transparent;
    background-image: url("./../images/custom/page.container-header.png");
    background-position: 50% 0;
    background-repeat: repeat-x;
}


        2. First, we want to increase the height of the header so that the whole container will show. Double click in the space to the right of the styles. In the box that appears at the bottom, type in height and hit enter. In the box that appears to the right, type in 217px.


        3. Now we want to bring the background image down a bit. Double-click 50% 0 next to background-position:. Change the 0 to 9x and click outside to accept it. The CSS should now look like:


.page .container-header {
    background-attachment: scroll;
    background-color: transparent;
    background-image: url("./../images/custom/page.container-header.png");
    background-position: 50% 9px;
    background-repeat: repeat-x;
    height: 217px;
}


Copy the CSS from Firebug.


        4. Access Cart Designer. Go to Advanced Tools > Edit custom css. Paste in the CSS.


        5. Click Save. Then select OK to refresh.


adjust header alignment



Aligning the Right Column


Next, we will pull the right column up to align with the blue box in the background.


        1. On your home page, without Cart Designer active, right-click on the right column and choose Inspect Element with Firebug.


        2. On the left side, you will want to make sure you have the element <div id="main" class="clearfix">. On the right side you will be editing .container-main #main. The full CSS will look like:


.container-main #main {
    border: 0 solid gray;
    margin: 10px 0;
    min-height: 700px;
    padding: 0;
}


        3. You will want to click on 10px 0, and using your down arrow, decrease the number to -26px. The CSS will now look like:


.container-main #main {
    border: 0 solid gray;
    margin: -26px 0;
    min-height: 700px;
    padding: 0;
}


Copy the CSS from Firebug.


        4. Access Cart Designer. Go to Advanced Tools > Edit custom css. Paste in the CSS.


        5. Click Save. Then select OK to refresh.


adjust right column



Adding Text Over Your Home Page Image


In this final part of the lesson, we will use the home page WYSIWYG Editor to add text over the home page image. This is a good way to advertise promotions, give a brief about us, or provide a company slogan.


        1. Open up Cart Designer.


Right-click over the main home page image, and choose WYSIWYG Editor. We want the text to be at the top for now. We will move it over the image in later steps. Type in:


Get the band back together!
10% off everything


        2. Hit enter to push the rest of the text to a new line.


        3. Click Save. Then select OK to refresh.


See How to Use the WYSIWYG Editor for more info on the WYSIWYG.


add text over home page image


        4. In order to apply specific CSS to this text, we will need to add div tags.


Right-click on the home page image again and choose Edit Source Code. It should show that you're editing home.html. If it shows a different file, trying adjusting where you right-click.


        5. At the top of the file, you will see the text you added in HTML form. You will want to surround this text with a div class. In front of the text, add <div class="sloganhome">. At the end of the text, add </div>.


Since the second line '10% off eveything' will have a different font size, we will want to differentiate it from the rest of the div. In front of '10%', add <span>. After 'everything', add </span>. The entire line of HTML should look like:


<div class="sloganhome">Get the band back together!<br /><span>10% off everything</span></div>


surround text with a div class


        6. Now, we will go back to using Firebug.


Go back to your home page, without Cart Designer active. Right-click on the text we added and select Inspect Element with Firebug.


You will see <div class="sloganhome"> is selected on the left side in Firebug, but there are no styles on the right. This is because none exist yet.


        7. Find a space off to the right in Firebug, where there is no text, right-click and choose Add Rule. You will see the following appear on the right:


.sloganhome {
}


        8. Double-click to the right of { and you will see a field appear beneath it.


We will want to change the font size. Type in font-size and hit enter. In the space to the right, type in appropriate font size. I chose 52px. Hit enter. A new field will appear underneath that.


        9. Type in color, hit enter. Type in white. Hit enter.


        10. In order to allow the font to appear over the image, we need to give it an absolute positioning.


Type in position and hit enter. Type in absolute and hit enter. The home page image will pop back up into position as the text rests over it.


        11. Now we want to align it better.


Type in left and hit enter. Type in 50px and hit enter.


Type in text-align and hit enter. Type in center and hit enter.


Copy this CSS and paste it into Notepad.


allow font to appear over image


        12. Now we want to shrink the '10% off everything' down so it's easier to read.


Right-click on the right side of Firebug again and choose Add Rule. Double click on .sloganhome and type in span to the right. Now double-click to the right of {.


        13. Type in font-size and hit enter. Type in .5em. This will reduce the size in half. Copy this CSS into Notepad.


adjust font size


        14. Now copy all of the CSS from Notepad. It should look like:


.sloganhome {
    color: white;
    font-size: 52px;
    left: 50px;
    position: absolute;
    text-align: center;
}

.sloganhome span {
    font-size: .5em;
}


        15. Open up Cart Designer. Go to Advanced Tools > Edit custom css. Paste the code in.


        16. Click Save. Then click OK to refresh.


refresh to see changes




Cart Designer 101 Part 1 - The Tools

Cart Designer 101 Part 2 - The Logic


If you didn't get your question answered, please contact the Pinnacle Cart Support Team. To submit a ticket, go to the My Account drop-down menu at the top right of the admin area and select Support.