
-
AuthorPosts
-
October 7, 2014 at 4:19 pm #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
October 7, 2014 at 4:29 pm #331723Hey 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!
YigitOctober 7, 2014 at 5:21 pm #331780Thanks, 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.
October 8, 2014 at 7:32 pm #332645Hey!
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,
YigitOctober 8, 2014 at 10:52 pm #332755I 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
October 9, 2014 at 4:49 pm #333338Hi!
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,
YigitOctober 9, 2014 at 5:46 pm #333370This reply has been marked as private.October 10, 2014 at 1:17 am #333547Hi!
Please review your website now Steve. I have adjusted custom CSS code in Quick CSS section
Best regards,
YigitOctober 10, 2014 at 2:20 pm #333842Thanks. That is great. I appreciate all of your help!
Steve
October 10, 2014 at 2:31 pm #333846Hi!
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 -
AuthorPosts
- The topic ‘Add address next to logo’ is closed to new replies.