Zen Follower
- Join Date:
- Jul 2006
- Posts:
- 135
- Plugin Contributions:
- 0
Using buttons/images in left hand sideboxes
Is this do-able in Zen or can we only use the Text from the Category names we create?
Thank you!
Jennie
Zen Follower
Black Belt
define('BOX_HEADING_CATEGORIES', 'Categories');define('BOX_HEADING_CATEGORIES', 'your_graphic.jpg');$title = BOX_HEADING_CATEGORIES;and change it to:$title = zen_image($template->get_template_dir(BOX_HEADING_CATEGORIES, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . BOX_HEADING_CATEGORIES, HEADER_ALT_TEXT); Repeat for each that you will alter and save them to your override folder for your template in includes/modules/sideboxes/your_template/categories.phpZen Follower
Totally Zenned
Totally Zenned
Totally Zenned
/*.rightBoxHeading {another here (also commented out)
margin: 0em;
background-color: #663366;
padding: 0.2em 0em;
}*/
.leftboxheading, .rightboxheading, .centerboxheading, .singleboxheading {and two here (which are probably the ones still doing the damage)
/*background-color: #abbbd3;*/
font-size: 10px;
font-weight: bold;
color: #ffffff;
padding: 3px;
height: 20px;
padding-left: 5px;
}
TR.leftboxheading, TR.rightboxheading, TR.centerboxheading, TR.singleboxheading {
background: #abbbd3;
background-image: url(../images/tile_back.jpg);
}
Totally Zenned
Totally Zenned
Totally Zenned
Black Belt
Totally Zenned
Totally Zenned
New Zenner
Berserker:
forgot to ask,
when you change the sidebox header to an image, how do you implement the link i.e for the Reviews. When i insert an image for this, the "more" link goes beside it.
Is there a way to get rid of this and make the whole header (for the reviews) to be the link instead?
New Zenner
Black Belt
h3.#categoriesHeading {
margin: 0em;
background-image: url(../images/your_image_name.gif/jpg);
background-repeat: no-repeat;
padding: 0.4em 0.2em;
}
h3.#informationHeading {
margin: 0em;
background-image: url(../images/your_image_name.gif/jpg);
background-repeat: no-repeat;
padding: 0.4em 0.2em;
}New Zenner
New Zenner
Totally Zenned
Destination thread ID and reason are required when shown.
Tell staff why this post should be reviewed.
Required for login, security, and core site functionality.
Help us understand how the site is used so we can improve it.
Used for promotion and personalized campaign measurement.