-
AuthorPosts
-
September 16, 2014 at 1:38 pm #319806
How do I add text on top and bottom of the site OUTSIDE of site container? Here’s an example of how I want that outside text it to look: http://www.liveshopdinenorthbrook.com/
September 16, 2014 at 1:40 pm #319807Hey goforyourdreams!
Please refer to my post here – https://kriesi.at/support/topic/add-image-to-header-in-upper-right-near-social-icons/#post-310712
You can edit the file in Appearance > Editor
Edit: You can also go to Enfold theme options > Header Layout > Extra Elements and add your text there. Then we can provide you custom CSS code to make header meta section transparentRegards,
Yigit- This reply was modified 10 years, 3 months ago by Yigit.
September 16, 2014 at 2:12 pm #319855The Extra Elements option is very limiting, it doesn’t work with the kind of stuff I want to add.
Is there a way to do it as a function? I’d rather not edit the theme files – don’t want to have them overwritten with the next update!
Here’s my function:
function header_top_text() { ?> <div class="header-top-text"> my text goes here </div> <?php }
Now how do I activate it? I tried the following:
add_action('ava_main_header', 'header_top_text');
but it gets stuck inside the header, even if I use the custom CSS to re-position it won’t go outside the header.September 17, 2014 at 5:48 pm #320636Anyone? When I create a function with custom content in functions.php, what code do I use to activate it? I want the code in that function to be added to the very top of the site (before the site container)…
September 18, 2014 at 6:00 am #320900Hey!
Please try this:
function header_top_text() { ?> <div class="header-top-text"> my text goes here </div> <?php } add_action('avia_meta_header', 'header_top_text');
Then use this on Quick CSS or custom.css to adjust the position of the container:
.header-top-text { position: absolute; right: -5%; }
Please provide a screenshot or mockup.
Best regards,
IsmaelSeptember 18, 2014 at 3:46 pm #321251This reply has been marked as private.September 21, 2014 at 9:33 am #322604Hey!
Please follow Ismaels instructions here: https://kriesi.at/support/topic/adding-text-on-top-and-bottom-outside-of-site-container/#post-320900 and post a link to your website – we’ll investigate it with the developer tools.
Cheers!
Peter -
AuthorPosts
- You must be logged in to reply to this topic.