-
AuthorPosts
-
August 28, 2014 at 10:37 pm #310681
How can I add a custom image near the social icons? Not a logo, just an image surrounded by a href.
Thanks.
August 28, 2014 at 11:31 pm #310712Hey aregowe!
Please go to Enfold/includes folder and open helper-main-menu.php file and find
<div id='header_meta' class='container_wrap container_wrap_meta <?php echo avia_header_class_string(array('header_social', 'header_secondary_menu', 'header_phone_active'), 'av_'); ?>'>
and add your image right below it as following
<div class='custom-header-image'><a href='http://kriesi.at' target='_blank'><img src='http://kriesi.at/wp-content/themes/kriesi/images/logo.png' /></a></div>
Then you can adjust its position using custom CSS in Quick CSS field in Enfold theme options under General Styling tab
.custom-header-image { position: relative; right: 0; top: 10px; }
Best regards,
YigitAugust 29, 2014 at 4:27 pm #310980Hi Yigit, I’ve done the steps above, but nothing is happening at all.
The image or href are not being displayed, even in the code of the page at all. Any ideas?
http://216.14.124.114/~ecatalogservices/WordPressTest/
That section of helper-main-menu.php now looks like this:
<div id='header_meta' class='container_wrap container_wrap_meta <?php echo avia_header_class_string(array('header_social', 'header_secondary_menu', 'header_phone_active'), 'av_'); ?>'> <div class='custom-header-image'><a class='live-help' onclick='return SnapABug.startLink();' href='#'><img border='0' alt='Live Help: Online' src='https://snapabug.appspot.com/statusImage?w=1a1e827f-2f3e-4143-83c5-519222219617'></a></div>
However, nothing of the above code is displayed on the actual web page. Not even the custom-header-image div.
Thank you.
- This reply was modified 10 years, 3 months ago by aregowe.
August 30, 2014 at 4:49 am #311156 -
AuthorPosts
- You must be logged in to reply to this topic.