Forums

Minimatica theme Header (9 posts)

  1. vickic1978
    Member
    Posted 10 months ago #

    hello,

    i am really struggling with headers.

    i want to create a website logo, may have to pay someone to do it at this rate, to the right hand side of my header.

    see website http://www.vickiclarkephotography.com for info

    i had tried a simple transparent one, but apparently my theme has a background which every time i load something into the header just blacks it out.

    once i get a png file created by someone as my logo, where do i insert the url code for the link to the png? is this in header.php? and if so which part do i insert it into, or do i insert it into the css editor?

    i am really confused and need some help. its confusing for me because in the theme appearance section on the dashboard there is a header option, but whatever I put in there it just doesnt seem to work. so im figuring i need to amend the code in the header.php?

    someone out there must know what i mean and be able to help?

    my site is looking rather forlorn until i get this sorted! :-)

    thanks in advance for any help.
    vicki

  2. vickic1978
    Member
    Posted 10 months ago #

    i am no longer using this theme.
    however, i may go back to it, so if anyone can still help, would be grateful
    thanks

  3. Daniel
    Member
    Posted 10 months ago #

    What you can do is add the image in the theme's images folder and add it in header.php like this.

    " rel="home">
      <img src="<?php echo get_template_directory_uri(); ?>/images/logo.png" alt="<?php bloginfo( 'name' ); ?>" />
    

    Then style it appropriately in style.css

    Adding a header image doesn't really work because it adds a header background with fixed dimensions and no link.

  4. imgouldphotography
    Member
    Posted 8 months ago #

    This site has a clickable header. Anyone know how they did it, because I would like to do the same with mine. At present I have a header image but as Daniel says above, it isn't a link. How do I make it link to the home page?
    Site with working link header: http://rawveganlove.com/
    My site, where it doesn't work: http://timgouldphotography.com/

  5. esmi
    Theme Diva & Forum Moderator
    Posted 8 months ago #

  6. imgouldphotography
    Member
    Posted 8 months ago #

    Cheers esmi, but that page talks about code that looks very little like Minimatica's header.php.

    However, I have found the exact code to make a clickable header in minimatica here:
    http://www.onedesigns.com/support/topic.php?id=374&page=3

  7. HyperStudio
    Member
    Posted 4 months ago #

    The link above seems to be dead, can anyone provide the information it once gave? It seems to have been useful to many and searches all over give the link, but no info follow. Thanks for any help in this.

  8. promattos
    Member
    Posted 4 months ago #

    @HyperStudio

    Looks like they created an event "onclick":

    <header id="header" role="banner" onclick="location.href='http://www.yoursite.com/';" style="cursor: pointer;" title="Home (or <?php bloginfo( 'name' ); ?>)">

    Cya!

  9. goolier
    Member
    Posted 4 months ago #

    worked great... replaced line line 28 in the original header.php with the line of code <header id="header" role="banner" onclick="location.href='http://www.mysite.com';" style="cursor: pointer;" title=Home>... as promattos stated above and as this link says on the theme support page here
    http://www.onedesigns.com/support/topic/clickable-header

Reply

You must log in to post.

About this Topic