Go Back   5 Star Affiliate Marketing Forums > SEO, Blogging & Internet Marketing Forums > RSS Marketing & Blogging Forums

RSS Marketing & Blogging Forums Bloggers ask your blogging questions here

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-26-2007, 07:13 PM
fahren fahren is offline
5 Star Member
 
Join Date: Jun 2006
Location: NC
Posts: 39
Default PHP Help?

I just found a great WP theme, but the hypertext doesn't stand out enough from the regular text. Can someone tell me the snippet of code I need to change? I'm going blind changing color codes that aren't the right one.
__________________
Niche Content Blog
Reply With Quote
  #2 (permalink)  
Old 07-26-2007, 09:55 PM
Linda Buquet's Avatar
Linda Buquet Linda Buquet is offline
5 Star President & Community Leader
 
Join Date: Jun 2005
Location: Sun Diego
Posts: 8,879
Default

I've has frustrations with that in the past too. Depends to some degree on the naming conventions that were used. Also which links you want to change - In the blog or sidebar or footer.

Also where you change it I think may vary based on the theme.
On one of my blogs it's in presentation>theme> stylesheet and
the other has both stylesheet and options.css that control fonts.
Are you looking in one of those places?

Im not much help because in the past I just kept tweaking until I hit on the right combo.
Teli or someone can probably tell you exactly.

What theme is it? And which hypertext do you want to change?
__________________
Your Partner in Success,

Linda Buquet :: Affiliate Program Advertising, Promotion & PR (Publisher Relations)

The free forum support we provide is made possible by all the 5 Star programs at the
top of the right sidebar & in the directory below. Please visit & support our merchants.


5 Star Affiliate Blog
:: 5 Star Affiliate Programs Directory

5 Star Affiliate Marketing Blog
Reply With Quote
  #3 (permalink)  
Old 07-27-2007, 02:21 PM
Teli's Avatar
Teli Teli is offline
5 Star Senior Member
 
Join Date: Nov 2005
Location: Florida
Posts: 385
Default

Hi Clara,
Chances are, you don't need to modify any PHP at all -- the changes you'll need to make are to the style.css file (or whichever is the main stylesheet for the theme).

If you don't feel like modifying the specific link code (of which there may be many - couldn't tell you without knowing which theme or seeing the code), then you can paste what I'm about to offer at the very bottom of the file; however, you should keep in mind that it will override all text links within the document.

Code:
a {color: #XXXXXX !important;}
Now for the explanation. In the above, you need to replace XXXXXX with the hexadecimal value for the color you want (example: white=FFFFFF, black=000000, red=FF0000 and so forth). This basically changes the text color for the links. The !important says that no matter what any other rules in the stylesheet says, always use that text color for your links.

Frankly, that may be a little too strict for the theme and it may cause the design to look off, for lack of a better word. If you care to tell us which theme (with a link, please and thank you) or, even better - post a link to the stylesheet (that way, I won't need to download/unzip/open any files), and mention where the links are you want the color changed (i.e. content, sidebar, header, footer, etc.) and the color you want, I could give you something more specific.

~ Teli
Reply With Quote
  #4 (permalink)  
Old 07-27-2007, 03:15 PM
Linda Buquet's Avatar
Linda Buquet Linda Buquet is offline
5 Star President & Community Leader
 
Join Date: Jun 2005
Location: Sun Diego
Posts: 8,879
Default

Thanks Teli for being our WP queen once again and offering to help!
We appreciate you!
__________________
Your Partner in Success,

Linda Buquet :: Affiliate Program Advertising, Promotion & PR (Publisher Relations)

The free forum support we provide is made possible by all the 5 Star programs at the
top of the right sidebar & in the directory below. Please visit & support our merchants.


5 Star Affiliate Blog
:: 5 Star Affiliate Programs Directory

5 Star Affiliate Marketing Blog
Reply With Quote
  #5 (permalink)  
Old 07-28-2007, 01:35 AM
StephenR's Avatar
StephenR StephenR is offline
5 Star Senior Member
 
Join Date: Jun 2005
Location: USA
Posts: 402
Default

Nice job Teli ;->
__________________
Stephen "Josh" Ralph
Top Affiliate Directory
Free Advertising
Reply With Quote
  #6 (permalink)  
Old 07-28-2007, 09:16 AM
Teli's Avatar
Teli Teli is offline
5 Star Senior Member
 
Join Date: Nov 2005
Location: Florida
Posts: 385
Default

Aww, thanks you guys. You've made me feel all warm and special inside.

~ Teli
Reply With Quote
  #7 (permalink)  
Old 07-28-2007, 04:38 PM
fahren fahren is offline
5 Star Member
 
Join Date: Jun 2006
Location: NC
Posts: 39
Default

Thanks Teli. The quick fix worked just fine
__________________
Niche Content Blog
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Vista and PHP Files Problem ayushpant General Internet Issues 4 08-21-2007 04:16 AM

All times are GMT -7. The time now is 05:42 AM.

Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2007, Crawlability, Inc.
©2005 - 2008 Linda Buquet - 5 Star Affiliate Programs