-
Text Hyperlink In Header
Hello Fellow Members,
I am new to socrates theme and I am working on a blog and just finished creating a static about us page. I made a minor change in editing the text in the header and made it a hyperlink. Well, for some reason now, the text changed from white to color black. It changes from black to white when I hover on top of it. Can someone point me in the right direction to correct this issues? I'm just going to create a home tab on nav menu and leave the header alone.
Below is is css:
<!-- hyperlink blog title -->
<?php if (empty($header)) { ?>
<div class="titleText socshadow" style="margin-bottom:-5px;font-weight:bold;"><h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1></div>
<div class="descText"><?php bloginfo('description'); ?></div>
<?php } else { ?>
<div class="titleText socshadow" style="margin-bottom:-5px;font-weight:bold;"><h1><?php if(!is_home()) { ?><a href="<?php bloginfo('url'); ?>"><?php } ?><?php echo stripslashes($header['titleText']); ?><?php if(!is_home()) { ?></a><?php } ?></h1></div>
<div class="descText socshadow"><?php echo stripslashes($header['descText']); ?></div>
<!-- end hyperlink blog title -->
I greatly appreciate some feedback
-
Socrates is set so there is no link to the homepage when on the homepage, but the header link becomes active on any other page. What was your goal when changing the link? it's really there for the benefit of your visitors.
Can you just restore the original code from the zip?
Can you share your link?
Similar Threads
-
By mark.keeler in forum Graphics and Design
Replies: 5
Last Post: 03-19-2012, 02:07 PM
-
By smstafford in forum Troubleshooting
Replies: 8
Last Post: 07-10-2011, 02:06 PM
-
By goodkarmaguy in forum Official Support
Replies: 2
Last Post: 05-04-2011, 10:25 AM
-
By NoodlePoodle in forum Custom Mods
Replies: 6
Last Post: 05-02-2011, 06:26 PM
-
By richlondon18 in forum Official Support
Replies: 2
Last Post: 06-09-2010, 03:51 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|