Please Read First
Troubleshooting Tips
Frequently Asked Questions
Note: Appearance issues are often caused by caching plugins.
When Posting Please Include Your URL.
Search Forum Using Google Search Box Above
IMPORTANT: If after forum login, you appear logged out, click on "New Posts". You should show as logged in then. It's a Vbulletin bug.
Forum Video

Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2012
    Rep Power

    Default 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

  2. #2
    Join Date
    Jun 2010
    Rep Power


    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

  1. hyperlink color
    By mark.keeler in forum Graphics and Design
    Replies: 5
    Last Post: 03-19-2012, 02:07 PM
  2. Hyperlink color issue?
    By smstafford in forum Troubleshooting
    Replies: 8
    Last Post: 07-10-2011, 02:06 PM
  3. Change text color for text above header
    By goodkarmaguy in forum Official Support 3.0
    Replies: 2
    Last Post: 05-04-2011, 10:25 AM
  4. Replies: 6
    Last Post: 05-02-2011, 06:26 PM
  5. Header Hyperlink
    By richlondon18 in forum Official Support 3.0
    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