Hello all...please can anybody help me...I have changed design of my OC shop (see dveloping version www.monofin.eu). I have changed bckground colour to dark blue and all texts to white and red. But background in search box stay white and the text writen there is not visible. Is it possible change colour of text only in boxes and let colour of all other texts as it is.
Thanks a lot
Matous
Yes, but this is really an HTML and CSS question rather than something related only to OpenCart.
You can apply a style just to a particular box in the template file if you want or by giving it an ID and using that in the css template.
You can apply a style just to a particular box in the template file if you want or by giving it an ID and using that in the css template.
It's still in the template section at least...
go to /catalog/template/default/module/search.tpl give the input field a class of input search:
then go to /catalog/template/default/module/css/default.css and find /* box search */
add this underneath it:
or if you want all input fields to have text color change just add this to your css
If you've yet to discover the full potential of css go to http://www.w3schools.com/Css/default.asp if you're unwilling to learn on your own. I suggest hiring someone. There are plenty of ppl here looking for some work i'm sure.
go to /catalog/template/default/module/search.tpl give the input field a class of input search:
Code: Select all
<input type="text" class="input-search" name="search" value="<?php echo $search; ?>" />
<input type="text" class="input-search" name="search" value="<?php echo $text_keywords; ?>" onclick="this.value = ''" />
add this underneath it:
Code: Select all
.input-search
{
color: #ff0000; // add what hex color you want here, in this case... red.
}
Code: Select all
input
{
color: #ff0000; // add what hex color you want here, in this case... red.
}
Last edited by webmastercorey on Thu May 08, 2008 3:10 am, edited 1 time in total.
Who is online
Users browsing this forum: No registered users and 2 guests