-
AuthorPosts
-
November 11, 2016 at 1:47 am #710955
Hello,
i would like to add a banner area on header right side of the logo, can you please help me on this subject ?
November 11, 2016 at 1:53 am #710959Merhabalar!
Please refer to this post – http://kriesi.at/documentation/enfold/adding-a-widget-area-to-the-header/ and add a widget area to your header and place your banner inside it :)
Regards,
YigitNovember 11, 2016 at 11:03 pm #711352hi i get this error after i used the codes on functions.php
Fatal error: Cannot redeclare enfold_customization_header_widget_area() (previously declared in /home/sanalkartlar/public_html/wp-content/themes/enfold/functions.php:568) in /home/sanalkartlar/public_html/wp-content/themes/enfold/functions.php on line 574
i used this
add_action( ‘ava_after_main_menu’, ‘enfold_customization_header_widget_area’ );
function enfold_customization_header_widget_area() {
dynamic_sidebar( ‘header’ );
}and this
add_action( ‘ava_main_header’, ‘enfold_customization_header_widget_area’ );
function enfold_customization_header_widget_area() {
dynamic_sidebar( ‘header’ );
}please help me
November 12, 2016 at 2:51 am #711374Hi,
It seems like you already have added the same code to functions.php. Please go to wp-content/themes/enfold/functions.php file and remove the last code you added.
If you would like us to look into it, please create a temporary admin login and FTP logins and post them here privately.Best regards,
YigitNovember 12, 2016 at 10:27 am #711424Hi Thanks for your help. site came back.
hope you guys help us on that issue.
but after i enter the codes, site’s main menu changed color. it was with color but right now it gets white bgNovember 15, 2016 at 12:11 pm #712431Hi,
please try to create a child theme at first: http://kriesi.at/documentation/enfold/using-a-child-theme/
and then add the code for functions.php into your child theme.Best regards,
AndyNovember 15, 2016 at 4:27 pm #712533Thank you guys, we created child theme and after that added a widget. i hace only one question more. in responsive the logo goes up of the header. do you have any css code to make it look better on mobile ?
November 16, 2016 at 4:51 am #712738Hi,
Your site looks more or less the same on desktop as it does on mobile on my end, could you try to explain a bit further and/or post a screenshot highlighting what you would like to do please?
Best regards,
RikardNovember 25, 2016 at 12:49 pm #716799you see the widget goes up like this
you can check it live on website too.November 25, 2016 at 7:45 pm #717021Hi,
your screenshot does not seem like taken from a mobile device. This is what I see on iPhone screen size: http://i.imgur.com/JjUDPWb.png, which seems pretty fine to me. So could you fix the issue with your logo on mobile?
Best regards,
AndyNovember 26, 2016 at 3:17 pm #717222hello. can you check it again with your mobile device. or a desktop browser with minimzed screen size. ?
you will the the 7/24 badge on top of the scrreen. when you minimize the browser window it all the way up.
November 28, 2016 at 11:24 am #717669Hi,
now it looks like this for me: http://i.imgur.com/gb7wIWw.png
Still it looks fine to me. What exacttly do you want to change? A mockup showing the results you wish would help us a lot.Best regards,
AndyNovember 28, 2016 at 2:24 pm #717761looks fine to you ?
actually we dont want that 24/7 widget on top of the page.
you didnt get the point.
bc its not looking good on top of the page.November 28, 2016 at 2:56 pm #717780Hey!
Can you tell us where you want the 24/7 widget be positioned or if you want it to be hidden in mobile? I’m not sure if you would like to position it below the menu icon, but try adding this code in Quick CSS:
@media only screen and (max-width:767px) { #header_main .widget { position: absolute; right: 20px; top: 54px; max-width: 50px; } }
Let us know if it’s good, if not you can remove the code and tell us how you want it to appear.
Best regards,
NikkoNovember 29, 2016 at 1:02 pm #718207it would be lovely to positioned near the logo. not the top of it.
can you gimme a css about it ?
thanks.November 29, 2016 at 3:41 pm #718287Hi,
not sure what you want to achieve exactly, a mockup showing the results would really help. However, maybt it’s this:
@media only screen and (max-width:767px) { #header .container.av-logo-container { top: -108px; width: 70% !important; right: -40px; }}
Best regards,
Andy -
AuthorPosts
- You must be logged in to reply to this topic.