Before you ask please READ THIS

Change Logo for Text

edited February 2013 in Hypershot Posts: 8
Hi, I'm trying desperately to change the logo on hypershot for a text but the layout always gets messy when I change the logo image on Header.php for a hyperlink. Could you help me with that? =/ Thank you!

Comments

  • Sorry, another question came out to me in the next minute, i hope I don't bother you with so many questions.

    But here it is: When I open a Full Width gallery (full width slider) is there any way for the description text to open automatically?

    Thanks!
  • AirAir
    Posts: 10,970
    Hello :-)

    Text for logo
    Go to header.php line ~164, find:
    <a id="logo" href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><img src="<?php echo $apollo13->get_option( 'appearance', 'logo_image' ); ?>" alt="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" /></a>
    change to
    <a id="logo" href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">YOUR TEXT</a>
    and change YOUR TEXT to what you like.
    Next you will have to add some custom CSS to make it look better:

    #logo {
    color: #000000;
    font-size: 20px;
    font-weight: bold;
    height: 30px;
    line-height: 30px;
    padding: 10px;
    white-space: nowrap;
    }
    .top-menu{
    height: 55px;
    }
    .top-menu > li > a{
    line-height: 55px;
    }
    Description
    Go to your album, and enable option Show thumbnails/text/none on page load.

    With regards.
  • Hi, Thanks a lot for your response!

    I'm just having some trouble with the Text logo. When I change the code the menu goes to the header top and doesn't stay aligned in the middle as it was with the image logo. Any thoughts on how could I solve this? Thank you!
  • AirAir
    Posts: 10,970
    Yes - send live link so I could see:-)

    I prepared code that way it should be vertically aligned and tested it, so I have no idea why it isn't working for you.

    With regards.
  • Posts: 23
    Hey Air,

    That code worked like a charm. I would like to apply the same thing to my albums list page:

    http://jamesautery.com/projects/

    Where and how do I change that?

    Best,
  • Posts: 23
    Never mind, it somehow fixed itself.
  • AirAir
    Posts: 10,970
    Probably it was browser cache.

    With kind regards.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!