-
AuthorPosts
-
July 4, 2015 at 9:39 am #468358
Hi, after solving my problem here:
https://kriesi.at/support/topic/adding-a-widget-area-to-the-header-2/
after last update, css does not work anymore. use this:.header-widget { left: 14%; padding-top: 0; position: absolute; top: 30px; transform: translate(-50%); color:rgb(46,139,61) !important; font-size: 140%; }
thanks
July 5, 2015 at 9:37 am #468498Hey czar!
I couldn’t see a widget in your header, did you remove it? We need to inspect it in order to give you working CSS.
Best regards,
RikardJuly 5, 2015 at 9:51 am #468503Hi, widget there, little word in the logo. looks arrow in the image
thanksJuly 6, 2015 at 9:10 am #468727Hi,
Sorry but I still can’t see it, could you send us a temporary admin login so that we can have a closer look please? You can post the details in the Private Content sections of your reply.
Cheers!
RikardJuly 6, 2015 at 1:54 pm #468900Ok, thanks
July 6, 2015 at 2:01 pm #468906Hi!
Where do you add your custom CSS code? Quick CSS field is empty.
Best regards,
YigitJuly 6, 2015 at 2:05 pm #468911Ciao Yigit, code is in style.css of the child theme. Now delete old css from them
- This reply was modified 9 years, 4 months ago by czar.
July 6, 2015 at 2:11 pm #468916Hi!
Can you please post the content of your style.css file of your child theme using – http://pastebin.com/?
Regards,
YigitJuly 6, 2015 at 3:05 pm #468975July 7, 2015 at 3:26 pm #469721Hey!
I can’t see any widget in your header:
Please activate it: http://kriesi.at/documentation/enfold/adding-a-widget-area-to-the-header/
so we can provide you some precise CSS code.Regards,
Andy- This reply was modified 9 years, 4 months ago by Andy.
July 7, 2015 at 3:48 pm #469746go to this link and widget appear
http://www.sfogliacitta.it/area/italy/lombardia/milano/
or
http://www.sfogliacitta.it/area/italy/lazio/roma/- This reply was modified 9 years, 4 months ago by czar.
July 8, 2015 at 12:22 pm #470148Hey!
I checked the pages above but I can’t see the “header-widget” container. Did you remove it? A screenshot from you will help.
Cheers!
IsmaelJuly 9, 2015 at 8:41 am #470658Hi, not removed here: http://www.sfogliacitta.it/area/italy/lombardia/milano/
July 9, 2015 at 3:51 pm #470959Hi!
We can see that it’s still there on the page, but I think you have renamed the containing element to something else since there is no container on the page called header-widget, that’s why the CSS is not working. If you replace header-widget with the new name you gave the container in the CSS it will start working again.
Cheers!
RikardJuly 13, 2015 at 3:20 pm #472504Hi, I followed instructions: created ‘header’ in widget section, added snippet in functions.php and ccs suggested by Yigit, all in child-theme.
Before working. After update no.However, it is always visible here:
http://www.sfogliacitta.it/area/italy/lombardia/milano/
Where’s logo, there is a small word ‘Milano’. That’s widgetciao
- This reply was modified 9 years, 4 months ago by czar.
July 14, 2015 at 6:05 am #472821Hi!
Could you post what is in your child themes functions.php please, the editor option seems to be missing from your installation.
Regards,
RikardJuly 14, 2015 at 12:09 pm #473054ok
//set builder mode to debug add_action('avia_builder_mode', "builder_set_debug"); function builder_set_debug() { return "debug"; } // Show sitename instead logo add_filter('avf_logo_final_output', 'avf_text_logo_final_output'); function avf_text_logo_final_output($logo) { $link = apply_filters('avf_logo_link', home_url('/')); $logotext = "SFOGLIA <span class='pin'><i class=\"fa fa-map-marker fa-lg\"></i></span> CITTÀ"; $subtext = "City Directory, Eventi & News"; $subtext = "<span class='subtext'>$subtext</span>"; $logo = "<div class='earth'></div><h1 class='logo bg-logo'><a href='".$link."'>".$logotext."$subtext</a></h1>"; return $logo; } // deactivate layerslider add_theme_support( 'deactivate_layerslider' ); add_action( 'ava_after_main_menu', 'enfold_customization_header_widget_area' ); function enfold_customization_header_widget_area() { dynamic_sidebar( 'header' ); }
July 15, 2015 at 11:54 am #473633Hi!
Alright. We edited the widget for you. Please use this in the Quick CSS field to change the position of the widget:
.location-widget { position: absolute; top: 0; right: 160px; }
Cheers!
IsmaelJuly 15, 2015 at 1:46 pm #473717Now it work. Many thanks
http://www.sfogliacitta.it/area/italy/lombardia/milano/ -
AuthorPosts
- The topic ‘css does not work anymore’ is closed to new replies.