I want to change the font color to white in the categories, featured items, and information sections. How do I do this? I also want to change the color on all page to green, how do I do this also? I have no knowledge of php, but I can follow examples.
For ex. I found this, but it causes my pages to load slower.
Just apply a bit of "style" to the anchor tag on lines 55 and 57, eg.
Code: Select all
<a style="font-size: smaller; color: #FF0000;">
this is my code in the controller/model/category.tpl
if ($this->category_id == $result['category_id']) {
$output .= '<a href="' . $this->model_tool_seo_url->rewrite(HTTP_SERVER . 'index.php?route=product/category&path=' . $new_path) . '"><b>' . $result['name'] . '</b></a>';
} else {
$output .= '<a href="' . $this->model_tool_seo_url->rewrite(HTTP_SERVER . 'index.php?route=product/category&path=' . $new_path) . '">' . $result['name'] . '</a>';
}
Try,
Change to
Code: Select all
<a style="font-size: smaller; color: #FF0000;">
Code: Select all
<a style="font-size: smaller; color: #00FF00;">
Thanks, I changed it to look like this.
if ($this->category_id == $result['category_id']) {
$output .= '<a style="color: #ffffff; href="' . $this->model_tool_seo_url->rewrite(HTTP_SERVER . 'index.php?route=product/category&path=' . $new_path) . '"><b>' . $result['name'] . '</b></a>';
} else {
$output .= '<a style="color: #ffffff; href="' . $this->model_tool_seo_url->rewrite(HTTP_SERVER . 'index.php?route=product/category&path=' . $new_path) . '">' . $result['name'] . '</a>';
where do you change the font color for the information and featured links?[/code]I looked in the stylesheet and I can change the bullets but not the links?
if ($this->category_id == $result['category_id']) {
$output .= '<a style="color: #ffffff; href="' . $this->model_tool_seo_url->rewrite(HTTP_SERVER . 'index.php?route=product/category&path=' . $new_path) . '"><b>' . $result['name'] . '</b></a>';
} else {
$output .= '<a style="color: #ffffff; href="' . $this->model_tool_seo_url->rewrite(HTTP_SERVER . 'index.php?route=product/category&path=' . $new_path) . '">' . $result['name'] . '</a>';
where do you change the font color for the information and featured links?
Code: Select all
[code]
My suggestion you post all code in file .tpl because i am not sure with your code. See at text bold.jcooke wrote:
Code: Select all
<a style="font-size: smaller; color: #FF0000;">
this is my code in the controller/model/category.tpl
if ($this->category_id == $result['category_id']) {
$output .= '<a href="' . $this->model_tool_seo_url->rewrite(HTTP_SERVER . 'index.php?route=product/category&path=' . $new_path) . '"><b>' . $result['name'] . '</b></a>';
} else {
$output .= '<a href="' . $this->model_tool_seo_url->rewrite(HTTP_SERVER . 'index.php?route=product/category&path=' . $new_path) . '">' . $result['name'] . '</a>';
}
Who is online
Users browsing this forum: No registered users and 94 guests