HomeHome Product Discus... Product Discus...SmithCartSmithCartStyling the Category MenuStyling the Category Menu
Previous
 
Next
New Post
8/22/2010 2:53 PM
 

What is the correct way to apply CSS to the Category Menu? I notice a link in the ascx file ....\DesktopModules\CategoryMenu.ascx but I don't know where that CategoryMenu.css is. Could you tell me where in my DNN file structure I should put a portal specific stylesheet for Category Menu?

Today I upgraded from DNN 5.4.4 to DNN 5.5 and my Category Menu styling disappeared (this was using a trial you had provided a month or so ago). I had my styling in the page DNN skin.css file to get a horizontal effect (see excerpt from skin.css below). Then, BAM, after the DNN upgrade this was toast. (.category is my div class).

FYI, I did just purchase, install and license your latest Smith Cart today.

.category .Smith_CategoryMenuContent
{
padding: 0;
margin: 0;
position: relative;
float: left;
}
.category .Smith_CategoryMenuContent table
{
margin: 2px 0;
text-align: center;
position: relative;
top: 2px;
float: left;
}
* html .category .Smith_CategoryMenuContent table
{
padding: 0;
margin: 0 0 -1px 0;
top: -1px;
}
.category .Smith_CategoryMenuContent table img
{
width: 0px;
}
.category .Smith_CategoryMenuContent table a
{
padding: 5px 7px;
font: bold 14px Arial;
color: #fff;
border-right: solid 1px #fff;
}
* html .category .Smith_CategoryMenuContent table a
{
margin: 0;
line-height: 25px;
}
.category .Smith_CategoryMenuContent table a:hover
{
color: #012942;
text-decoration: none;
}

 
New Post
8/23/2010 11:19 AM
 

While I don't have a direct answer to your question, this is a perfect opportunity to point out a tool that I found that I use a *LOT*.

If you use FireFox, download an add-in called FireBug.

It will show you all of the CSS that is affecting anything, just by right-clicking on what you wish to see the CSS for, and selecting "Inspect Element".

It has saved me HOURS of trial and error, because it shows you what's being inherited, what's being over-ridden, and made my skinning much, much easier.

 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartStyling the Category MenuStyling the Category Menu