This topic has 16 replies, 2 voices, and was last updated 9 years by sharmstr.

  • Author
  • #76567
     wilfriedMarseille
    Participant

    Hello I would like insert a banner image just under my principal menu. The size of image is : 1 101px × 141px

    I have to copy/paste header.php in my child theme and add a banner between ?
    Or i can add the banner in my “main-container”. ( I don’t get idea t do that )

    http://le-journal-des-dj-producteurs.com/

    thanks you 🙂

    If you love Ableton check my blog :
    www.zikrea.com

    #76594
     sharmstr
    Moderator

    Use this in your child theme and replace the img src

    COPY CODE
    
    add_action('kleo_before_content','my_header_image');
    function my_header_image() {
        echo '<img src="http://seventhqueen.com/themes/kleo/wp-content/uploads/2015/02/kleo_demo_pages_01.jpg" />';
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #76786
     wilfriedMarseille
    Participant

    Hello.
    Thanks you for your answer but i get a little problem. I put your code in function.php in my childtheme. I replace the image link with mine. But the image is at right and verry verry tall.
    This the link of my original image. http://le-journal-des-dj-producteurs.com/wil-contenut/uploads/2015/09/dj-producteur-upMain.png

    And this is my page when you visiting my website. http://le-journal-des-dj-producteurs.com/

    Thanks you 😀

    If you love Ableton check my blog :
    www.zikrea.com

    #76789
     sharmstr
    Moderator

    Works great on my site. Do you have custom template files in your child theme? Looks like kleo_before_content is injecting it in the wrong location due to a custom template file.

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

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    Attachments:
    You must be logged in to view attached files.
    #76796
     wilfriedMarseille
    Participant

    No i got just function.php / Style.css / ScreenSot.png
    And in my file function.php i got just the code than you give me before …

    If you love Ableton check my blog :
    www.zikrea.com

    #76797
     sharmstr
    Moderator

    what version of kleo?

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

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #76798
     sharmstr
    Moderator

    Looks like you’re running 3.0.1? That could be the problem.

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

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #76800
     wilfriedMarseille
    Participant

    is the 3.0.7

    If you love Ableton check my blog :
    www.zikrea.com

    #76801
     wilfriedMarseille
    Participant
    This reply has been set as private.
    #76802
     sharmstr
    Moderator

    Not according to your source code???

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

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    Attachments:
    You must be logged in to view attached files.
    #76804
     wilfriedMarseille
    Participant

    Ooo is strange ….
    I’m going check it. Thanks you. ( i look on my main files .txt )

    If you love Ableton check my blog :
    www.zikrea.com

    #76805
     sharmstr
    Moderator

    🙂

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

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #76806
     sharmstr
    Moderator

    I just scan all the fixes since 3.0.1 and that issue was fixed in 3.0.6. Get your site on 3.0.7 and all should be well. I’m getting ready to head out of town so if you have issues upgrading to 3.0.7, please start a new topic.

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

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #76808
     sharmstr
    Moderator

    I forgot to mention that you’ll have to ftp the update up to your server. Somewhere between 3.0.1 and 3.0.7 (cant remember), theme forest updated their server code which broke the auto update. Once you’re up on 3.0.7, auto update will work going forward. Kleo wasnt the only theme affected. 1000s of themes were. Anyhow, I didnt want to respond to your new topic because it would assign it to me. And as I said, I’m leaving for a few days 🙂

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

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #76813
     wilfriedMarseille
    Participant

    Ok, so take good times 🙂

    If you love Ableton check my blog :
    www.zikrea.com

    #76973
     wilfriedMarseille
    Participant

    Yes you find the solution. Is work now. Thanks you 😀

    If you love Ableton check my blog :
    www.zikrea.com

    #77574
     sharmstr
    Moderator

    great.

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

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

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

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?