Images next to the category headings

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 năm cách đây
On the homepage using the NOP classic theme you have headlines, shoppingcart, categories, popular tags etc.. I want to add a small image, next to each one of these categories, how would I go about this?
13 năm cách đây
marketgy wrote:
On the homepage using the NOP classic theme you have headlines, shoppingcart, categories, popular tags etc.. I want to add a small image, next to each one of these categories, how would I go about this?

You can add an image to the title text for the sections you mentioned with CSS.  For the nopClassic theme, edit file: App_Themes\nopClassic\styles.css

Add the underlined changes to the .block .title style class (.block .title starts on line 859):
.block .title
{
  font-size: 0.9em;
  font-weight: bold;
  text-transform: uppercase;
  padding: 4px 8px 4px 20px;
  background: #fff url(images/ico-arrow-r.gif) no-repeat 0 50%;
}

Just save the file and refresh the browser. The image used (ico-arrow-r.gif) is an existing image in the App_Themes\nopClassic\images folder.

.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.