Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #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

    #468498

    Hey 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,
    Rikard

    #468503

    Hi, widget there, little word in the logo. looks arrow in the image

    thanks

    #468727

    Hi,

    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!
    Rikard

    #468900

    Ok, thanks

    #468906

    Hi!

    Where do you add your custom CSS code? Quick CSS field is empty.

    Best regards,
    Yigit

    #468911

    Ciao Yigit, code is in style.css of the child theme. Now delete old css from them

    • This reply was modified 9 years, 5 months ago by czar.
    #468916

    Hi!

    Can you please post the content of your style.css file of your child theme using – http://pastebin.com/?

    Regards,
    Yigit

    #468975
    #469721

    Hey!

    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, 5 months ago by Andy.
    #469746

    go 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, 5 months ago by czar.
    #470148

    Hey!

    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!
    Ismael

    #470658
    #470959

    Hi!

    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!
    Rikard

    #472504

    Hi, 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 widget

    ciao

    • This reply was modified 9 years, 5 months ago by czar.
    #472821

    Hi!

    Could you post what is in your child themes functions.php please, the editor option seems to be missing from your installation.

    Regards,
    Rikard

    #473054

    ok

    
    //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&nbsp;<span class='pin'><i class=\"fa fa-map-marker fa-lg\"></i></span>&nbsp;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' );
    }	
    #473633

    Hi!

    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!
    Ismael

    #473717
Viewing 19 posts - 1 through 19 (of 19 total)
  • The topic ‘css does not work anymore’ is closed to new replies.