This topic has 11 replies, 2 voices, and was last updated 10 years by Boblebad.

  • Author
  • #12681
     Boblebad
    Participant

    Hi

    I have tried for some time now, searched the forum and google, but can’t figure out how i get a big full sized logo image to appear after the menu and before the registration/search form in the header ?

    Maybe i’m just tired and should go to bed 😉

    All the best
    Carsten

    #12808
     Boblebad
    Participant

    Found out how to do it, couldn’t with sleepy eyes find where images i stored 😉

    COPY CODE
    			<div class="twelve columns">
    			<a href="<?php echo get_home_url(); ?>"><img src="<?php echo sq_option('logo',get_template_directory_uri().'/assets/images/logo_after_header.png'); ?>" width="946" height="398" alt="<?php bloginfo('name'); ?>"></a>
    			</div>

    and is NOT part of the code, don’t know how to get rid of them.

    What is the structure of the files, what calls what, where to change what ?

    All the best
    Carsten

    #12839
     Abe
    Keymaster

    You can add it there or in page-parts/home-searchform.php or for register form /page-parts/home-registerform.php

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #12849
     Boblebad
    Participant

    Thank you for your answer abe

    Is there any place that is best, i think in regards of mobile units ?

    Is there anywhere it is possible to see where to find what in the files, e.g. where to change what and which files calls which ?

    #13047
     Abe
    Keymaster

    You are welcome. There is no such best place. It is a matter of preference
    There is no such info. Based on wordpress architecture you know which files are called and see any functions in those files if it is the case
    In the future we will provide something like this

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #13087
     Boblebad
    Participant

    Okay, thank you.

    I can see that i need to move it around, cause it should only be displayed on the home-/frontpage, and then on the other pages just the small one up left.

    Is there any way this is best done, removing the small one up left at the front, so the logo isn’t diplayed two times there, but is displayed on all the other pages, do i need to call a different header.php for that ?

    #13258
     Abe
    Keymaster

    yes you can define another header file like header-custom.php and call it like get_header(‘custom’);

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #13297
     Boblebad
    Participant

    Well, i’ve bin trying that for hours in as many different ways i could Google, i cannot get the theme to fetch the custom header.

    Using get_header, doesn’t do any thin, using include, i can get it to display the custom header, but can’t get the selection working.

    And no matter where i place it, it does not work.

    I can only get it to work through the page templates, but that’s a bad thing, isn’t, or can it be place in the child theme folder ?

    #13447
     Abe
    Keymaster

    Like I told you, in the page template you will call header-custom.php with get_header(‘custom’);
    Maybe the problem comes from another thing in your code

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #13455
     Boblebad
    Participant

    I’m not sure that we are speaking the same language here, cause what you’re writing is almost what i’m doing, but i have just added the big logo to home-register-form.php, and in front-page.php included a header without the little top logo.

    And the get_header still dosen’t do it, i can only do it with include.

    But what’s essential here, is the these files get overwritten by an update, sÃ¥ that’s not the smartest way to do it, can these files be put in child folder in any way ?

    #13457
     Abe
    Keymaster

    Yes you can put the template files in the child theme in the same exact folder structure.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #13476
     Boblebad
    Participant

    Super, thanks 🙂

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

The topic ‘Image in header after menu before register form ?’ is closed to new replies.

Log in with your credentials

Forgot your details?