Jump to content

centering the categorie pictures


Guest bikedevil1983

Recommended Posts

In layout.css:

#subCats {

background-color: #EBEDFE;

text-align: center;

border: 1px solid #C9CEFC;

margin: 0px;

padding: 3px;

float: left;

width: 387px;

}

.subCat {

text-align: center;

padding: 8px;

float: left;

width: 110px;

Remove float: left; That should do it.

Also in viewCat.tpl look for this line around line 17

<img src="{IMG_CURENT_CATEGORY}" alt="{TXT_CURENT_CATEGORY}" border="0" title="{TXT_CURENT_CATEGORY}" />

You can try adding align="center"

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...