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

    Hi guys,

    Yigit helped me figure out how to put an element in my header (to the right of the logo) using the functions.php file. I’m now having trouble creating a link up there.

    Here is my site: http://staging.eyemagic.net/. I want the Order Now! button to link to the /shop page. Not sure how to do it…

    Thanks ahead of time!

    Dave

    #292858

    Hi atrixdave!

    Thank you for using the theme.

    Edit the logo text:

    <a href="/shop"><img style="height:66px; width:183px;" src="http://64.19.142.11/staging.eyemagic.net/wp-content/uploads/eye-magic-order-now-button.png"></a>
    

    Replace the href attribute with the URL of the shop page.

    <a href="SHOP PAGE URL HERE"><img style="height:66px; width:183px;" src="http://64.19.142.11/staging.eyemagic.net/wp-content/uploads/eye-magic-order-now-button.png"></a>
    

    Best regards,
    Ismael

    #292863

    Hi Ismael,

    I tried using this but its still not creating a link for the button:

    <a href='http://staging.eyemagic.net/shop'><img style='height:66px; width:183px;' src='/wp-content/uploads/eye-magic-order-now-button.png'></a>

    #292930

    Hey!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    #header_main { z-index: 2!important; }
    .logo-text { z-index: 99!important; }

    Best regards,
    Yigit

    #293091

    YIGIT YOU ARE THE MAN! Thank you!!!

    I love this theme and I love the support even more…keep up the good work guys!!

    #293094

    Hey!

    You are welcome Dave, we are always happy to help :)
    Thank you for your kind words and have a great weekend!

    Regards,
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Help with header element in functions.php file (Yigit!)’ is closed to new replies.