Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1428

    I want to put the headline button text on the right of each page in the additional header area. See http://www.whitefix.co.uk/about (purple stripe at top to be at the right side of page after header text).

    Can you tell me how I can achieve this please.

    #35172

    Hey!

    Could clarify what you mean by “headline button text”?

    Regards,

    Noah

    #35173

    If you look on the standard theme on the main page there is a button below the sideshow which says “our latest work”.

    This button text and link is controlled from within the theme. In my design i have disabled it on the main page but wish to put it in the purple stripe on the right along the top all other pages.

    #35174

    Replace following code in header.php:

    echo '<div class="overlay_bottom ie6fix">';

    echo '</div>';

    echo '<div class="center">';

    with:

    echo '<div class="overlay_bottom ie6fix">';

    echo '</div>';

    echo '<div class="center">';
    if($k_option['mainpage']['buttonText'])
    {
    $headline .= '<a href="'.get_permalink($k_option['mainpage']['buttonLink']).'" class="big_button heading ie6fix">';
    $headline .= '<strong class="ie6fix">'.$k_option['mainpage']['buttonText'].'</strong><span class="buttonBg dynamicBg"></span></a>';
    }

    The Dude

    #35175

    Many Thanks,,

    How do I get this to be vertically central between the stripe. Currently at the bottom?

    #35176

    I’ve tested several css properties but I didn’t found a good solution. If I put this code in another div everything messes up. If I add styling parameters to the span or strong tag I don’t get satisfying results either. I’m not sure if it’s a good idea to put the button in the headline as it won’t be easy to position it. Maybe try to to use an image instead.

    The Dude

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Putting Headline Button Text in Additional Headline Area’ is closed to new replies.