Post by mindcell » Thu Aug 21, 2008 6:58 am

How can I just make ALL text and ALL Links white excluding buttons? I have gotten the process half way done, But I am running into a terrible amount of difficulty changing things that seem to be pulled from a seperate file. An example would be: I cannot change the color of the customers name in the "Welcome Guest/Customer" message, or the Ship To address in checkout. Is there somewhere other than the CSS files under "/public_html/catalog/template/default/css" that I should be looking? Or should I be using a different code other than the "color: white;" code I have been using? Help would greatly appreciated.
Last edited by mindcell on Thu Aug 21, 2008 10:34 am, edited 1 time in total.

Newbie

Posts

Joined
Thu Aug 21, 2008 6:08 am

Post by fido-x » Thu Aug 21, 2008 6:07 pm

If you look in "catalog/template/default/content/home.tpl" you will see a line that reads-

Code: Select all

<?php echo $text_greeting; ?>
This is the "Welcome Guest/Customer" message, and is found in the language file "catalog/language/english/controller/home.php".

Regards, Fido-X.

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by mindcell » Fri Aug 22, 2008 1:10 am

I am sorry, but I still cannot figure out how to change the font color for the text described above. I have been trying everything I know, and everything I can find through help and internet websites. Where am I supposed to changing the font color? Is there an easier way to edit the font color for the entire site?

Newbie

Posts

Joined
Thu Aug 21, 2008 6:08 am

Post by Luvz2drv » Fri Aug 22, 2008 1:18 am

default.css    hmm off the top of my head in the first 10-15 lines you should find it

Jonathon

Global Moderator

Posts

Joined
Fri Mar 21, 2008 10:58 am

Post by bruce » Fri Aug 22, 2008 7:48 am

If you want to play with css, get yourself the firefox browser and the "web developer" extension. It allows you to examine the css for any element on the displayed page. It also has a lot of really useful tools for the web developer.

Active Member

Posts

Joined
Wed Dec 12, 2007 2:26 pm

Post by Qphoria » Fri Aug 22, 2008 8:10 am

Honestly, I don't know how web development was done before that extension. When I reinstall windows on my PC, the first program I install is FF. The Second thing I install is the Web Developer Toolbar.... Then everything else :P

I swear by the Web Developer toolbar. Tho I wish he would add a way to view the full path when there are long css paths when using "View Style Information"

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by fido-x » Fri Aug 22, 2008 9:03 am

The bit that you're looking for is in "catalog/template/default/css/default.css" lines 22-24, eg.-

Code: Select all

b, strong, th {
  color: #000000;
}
Changing this to-

Code: Select all

b, strong, th {
	color: #FFFFFF;
}
should solve your problem.

Regards, Fido-X.

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia
Who is online

Users browsing this forum: No registered users and 3 guests