Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #331712

    Hi guys,

    I have the Enfold logo and navigation set up with the logo to the left and the navigation underneath. Is it possible to add some text such as an address to the right side of the logo area on the opposite side from the logo. There is a lot of empty space there that would work great for this information.

    Thanks,

    Steve

    #331723

    Hey fstopusa!

    Please add following code to Functions.php in Appearance > Editor and adjust as needed

    function custom_text() {
    	echo "<div class='my-custom-text'><a href='http://kriesi.at' target='_blank'>Here goes my text</a></div>";
    }
    add_action('ava_after_main_menu', 'custom_text');

    Then you can adjust its position using following code in Quick CSS field that is inside Enfold theme options > General Styling tab

    .my-custom-text { position: relative; left: 10px; top -10px; }

    Cheers!
    Yigit

    #331780

    Thanks, but this is not quite right. The add_action('ava_after_main_menu', 'custom_text'); seems to be putting this in the main content area on the left side of the whole page. What would I need to use to get it on the upper right side of the header opposite the logo? I am sure there is probably something I am missing.

    Thanks for the help.

    #332645

    Hey!

    You can use custom CSS to adjust its position. Please add the code once again and let us know so we can provide you accurate custom CSS code

    Regards,
    Yigit

    #332755

    I have added the code back in and I can get the horizontal positioning correct and the line height set for the text block, but it is still under the navigation and I want it above the navigation.

    Here is a screen shot of what I am looking to achieve http://69.195.124.246/~fedsavv1/wp-content/uploads/2014/10/Correct.jpg

    #333338

    Hi!

    Please add following code to Quick CSS

    .my-custom-text { top: -120px; }
    #header #header_main_alternate .container { height: 35px; }
    .home .content { padding-top: 0; }

    Best regards,
    Yigit

    #333370
    This reply has been marked as private.
    #333547

    Hi!

    Please review your website now Steve. I have adjusted custom CSS code in Quick CSS section

    Best regards,
    Yigit

    #333842

    Thanks. That is great. I appreciate all of your help!

    Steve

    #333846

    Hi!

    You are welcome, glad we could help :)
    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)

    Best regards,
    Yigit

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Add address next to logo’ is closed to new replies.