In the part 1 we discussed setting up and getting ready for re-skinning an Ablecommerce theme. We decided how we want our new theme to look like when completed. We learned what is required to get started with re-skinning and we learned how to create a new theme by creating a copy of an existing theme.
In this article we will learn how to re-skin the header section of our theme and how to make the header look like the header of our new design – ‘Furniture Store’.
By now we have a new ‘Furniture Store‘ folder under ‘App_Themes‘ in our AC7 installation. Here we have various .css and .skin files along with a folder ‘images’. The most important file that we are concerned with is style.css. This is the file we will be editing the most.
I recommended that the re-skinning be done in this order – start from header then side-bars and then the main content. Conversion should first be done for the home page and then we can convert the other pages as well.
Before we start converting the header, one thing that we usually need to take care of is the background and body of the overall theme. We will start by adjusting the CSS for the body tag first. Here is how the CSS is defined for body tag in style.css file
“Glass_olive” theme from which we copied this had a body with simple white background. Our theme, “Furniture Store” however will have a textured background so we convert the CSS for body tag.
Let’s do this by following these steps
The header section of our new theme is supposed to look like this when completed.
![]()
Things to note
to
What we changed is that the header has 10px wide white borders on left and right side now.
First to convert the tab images of “Glass Olive” into that of “Furniture Store”. Follow these steps for conversion
![]()
![]()
for tabs (left, right padding)
Sometimes the top tabs have the size larger than default tabs. In this case to re-size the container you have to modify the corresponding css. We do this for “Furniture Store” as follows.
For text on tabs (i.e text_links) here is the CSS

On hover we want the background to change and font to get more prominent.
![]()
![]()
for search container you may set the height and width of the container and other features as well
![]()
modify this class for input text box set its background color, border and width e.t.c. as needed
Sometimes the problem arises when displaying the search button and you can sometimes get them fixed by setting appropriate the values for “padding”.
Follow these steps to get the navigation menu converted
![]()
The above class present the navigation container. I have set the width, height and border styles to match the “Furniture Store” theme.
![]()
(for setting the margins left right, top and bottom)
![]()
(modified for menu text color, distance between the text and the arrow, font-styles, font-weight e.t.c)
modified class for on mouse over effect
![]()
The background image is eliminated because I have just need to change the text color on mouse over.
Once all the above changes are made your header will start looking like this
![]()
Great stuff. The last few images of css snippets don’t zoom
http://blog.plugables.com/ablecommerce7x_plugins/106_re-skinning-ablecommerce-part-2-header/
12:18 am
Great stuff, hope the series will continue…