Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #293356

    I am trying to either eliminate or darken the Woocommerce Cart buttons (display: none; or opacity: 1;) using quick css.
    The changes I am making in the quick css are not taking affect.

    I am using a Enfold child theme for the first time…So I am not sure if this is the reason. I have tried both of the css changes below with no affect.

    .avia_cart_buttons {
    display: none;
    }
    #top .avia_cart_buttons .button {
    display: none;
    }

    Any ideas why this is happening?

    Thanks,
    Michael

    #293359

    Hey Michael!

    Try adding !important:

    .avia_cart_buttons {
    display: none !important;
    }
    #top .avia_cart_buttons .button {
    display: none !important;
    }
    
    

    Cheers!
    Josue

    #293398

    I have tried that, and it finally did work for my Spanish version of the page, but it’s not working for the default English version of the page…

    When I changed it in my child them css file it works, but it will not work if I change it in the quick css section of Enfold.

    Can you explain why the quick css work for the Spanish page, but not for the English page, but when I made the change in the child theme css file it fixed the problem?

    Does this mean I should always use the child theme css? How does this work with WPML? Do I need two theme css files, one for English and one for Spanish?
    Thanks,
    Michael

    #293424

    Hi Michael,

    Can you post the link to your website please?

    Regards,
    Josue

    #293463

    Thanks…Here you go!

    http://nbfgingivalgel.com/

    #293513

    Hey!

    Thank you for the link.

    Yes, if you’re using the Quick CSS field to add css modifications, you need to add the code on both language so it’s better to add it on the child theme’s style.css or the custom.css file.

    Regards,
    Ismael

    #293598

    Thank you Ismael…That’s why I was confused…I added the same code for both languages in the quick css…I checked it many times…One language picked it up, the other did not…It was not until I went into my child them css and added the code that it worked…

    Any insight as to why this is?

    Thanks!

    #293600

    Hey!

    Maybe Enfold can’t regenerate the dynamic stylesheet. Please use a ftp client and connect to your server. Navigate to wp-content/uploads/dynamic_avia/ and set the folder permission to 777. Then delete all css files inside the dynamic_avia folder. Afterwards go to Enfold > Theme Options to regenerate the dynamic stylesheets (hit the green “Save all changes” button) for each language (you need to switch the language to save the settings).

    Regards,
    Peter

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.