Time for action — Changing the exclusive blocks' background color

Now let's go to the lines in the CSS file that we have to change in order to modify the background color of the content for cart blocks and other exclusive blocks.

Scroll down the global.css file and go to /*block exclusive*/.

/* block exclusive */
#left_column div.exclusive, #right_column div.exclusive {
background: transparent url('../img/block_exclusive_footer.jpg') no-repeat bottom left
}
div.exclusive h4 {
background: transparent url('../img/block_header_exclusive.gif') no-repeat top left;
color: white
}
div.exclusive h4 a { color: white; }
div.exclusive li { margin-top: 0; }
div.exclusive, div.exclusive a { color: white; }
div.exclusive .block_content {
background: #bdc2c9 url('../img/block_exclusive_bg.jpg') repeat-x bottom left;
border-left: 1px solid #595a5e;
border-right: 1px solid #595a5e
}

You may replace the highlighted hex color code with "red". You will note that the descriptions are also linked to an image. We will discuss it in the next chapter.

Time for action — Changing the exclusive blocks' background color
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.135.219.166