Tagged: 

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

    Hi there!
    I updated Enfold theme today to latest version. everything works fine, all CSS from Enfold are all right.
    There is only a problem with the CSS codes from one plug-in, they are not accepted any more. Following the plug-in’s instructions (WP-Immomakler) I placed them in following directory:
    /WordPress_01/wp-content/themes/enfold/immomakler/immomakler.css

    I have also tried it in following directory:
    /WordPress_01/wp-content/themes/enfold/css/immomakler.css

    Do you have an idea what might be the problem? Is there another directory where I should place the CSS file?
    Cheers, Moritz

    #223778

    Hey Moritz!

    Please copy all the css codes on immomakler.css then place it on custom.css. Maybe that will work.

    Cheers!
    Ismael

    #223863

    Hello Ismael,

    no, does not work.
    I added all css-codes to the custom.css, erased them from all other directories, but did not work.
    Any other option, where I could place the CSS?

    Cheers
    Moritz

    #223898

    Hi!

    1) Please try to clear the browser cache. Maybe your browser still loads the “old” custom.css file which does not contain the immomakler.css code.

    2) If you use a child theme you can place the immomakler.css code into the style.css file of the child theme.

    3) Otherwise try to insert it into the quick css field (Enfold > Theme Options > Styling) and save the theme settings.

    Regards,
    Peter

    #223912

    Hi Peter,

    tried all suggestions, none worked..
    Also deactivated and reactivated plug-in, but didn’t help..

    I have also tried on several devices (iPad, phone, etc.), cleared browser several times…

    Any chance to get back to the former version of Enfold before the update?

    Cheers
    Moritz

    #223994

    Hi!

    Please copy the immomakler.css file on the theme’s css folder then add this on functions.php:

    if(!is_admin())
    {
    	add_action('wp_enqueue_scripts', 'avia_register_immomakler_style', 100);
    }
    
    function avia_register_immomakler_style()
    {
    
    	//register style
    	wp_register_style('immomakler'  , $template_url."/css/immomakler.css", array(), '1', 'screen');
    	
    	wp_enqueue_style('immomakler');
    }

    Best regards,
    Ismael

    #224049

    Hi Ismael,
    sorry, didn’t work… it did affect the style in the frontend, but did not read my css codes.
    I don’t understand why there is suddenly a problem with reading the immomakler.css file.. it did work properly before and was not written over.

    Here is the link to the listing that should be affected: http://www.urban-homes.de/immobilien
    Maybe that helps finding the problem?

    Thanks,
    Moritz

    #224152
    This reply has been marked as private.
Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘CSS problem after update’ is closed to new replies.