[Support request] footer widget autoptimize and css

Home Forums Support footer widget autoptimize and css

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #1051221
    Ruben

    Hi

    I am trying to use some css code in the footer widgets but it is not working due to autoptimize plugin. If I check the CSS options in the plugin then the code does not work.

    It is strange, since in other site I have the same autoptimize settings and the same css code for footer widget and it works fine. This is the site that works: https://www.buentrading.com/

    The site that does not work is this: https://www.apuestaspc.com/
    When I put the CSS code in the customizer it shows well, like here: https://imgur.com/7IiNL5q
    But when I update and go to the page itself it does not apply, like here: https://imgur.com/f13c2mR

    So when I deactivate autoptimize css options the css works fine. I tried to add some files to the exclusion line as suggested by GP: “wp-content/cache/, wp-content/uploads/, admin-bar.min.css, dashicons.min.css”
    I added “style.min.css” and “unsemantic-grid.min.css”, just trying but did not work.

    Do you have a hint of what it could be?

    Thank you

    #1051426
    David
    Staff
    Customer Support

    Hi there,

    can you clear and disable autoptimize so i can take a look ?

    #1051596
    Ruben

    Hi

    I disabled autoptimize.

    Now, the css inside the footer widget is working.

    #1051630
    David
    Staff
    Customer Support

    Can’t see what or why the CSS would get overwritten or discarded.
    Can you re-enable autoptimize

    #1051827
    Ruben

    Hi

    I enabled it again. Now the css dissapears as before

    No idea

    #1051874
    David
    Staff
    Customer Support

    Looks like you disabled Autoptimize again – can you re-enable it.

    #1051887
    Ruben

    Ok, Now it is disabled

    #1052155
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Can you activate Autoptimize again possibly?

    What if you make your CSS more specific?

    #1052218
    Ruben

    Hi Tom

    I activated the autoptimize again. (css customization dissapears in footer widget) (css customization would reapear if I deactivate css options in autoptimize though)

    What do you mean by CSS more specific?

    I have this: `/* footer-widgets */

    .inside-footer-widgets ul a{
    color:#ffffff !important;
    }

    #footer-widgets li:not(:last-child) {
    border-bottom: 1px double #ffffff;
    line-height: 2em;
    margin-bottom: 0.6em;

    }

    /*distancias en los widgets*/

    .widget-title {
    margin-bottom: 20px;
    }

    .widget-title {
    margin-top: 20px;
    }
    `

    #1052222
    Leo
    Staff
    Customer Support

    Just checked the site and the CSS is all working from what I can tell?
    https://www.screencast.com/t/BPxVUAUBl6u9

    #1052257
    Ruben

    Not on my end. I do not see it. tried in chrome, firefox and incognito…and css not working with autoptimize on.

    I cleared the cache and also my browser too

    #1052262
    Leo
    Staff
    Customer Support

    So what I’m seeing is the correct style?

    That would be very strange.

    Do you have another computer/device to test?

    #1052288
    Ruben

    Yes you are seeing the right version

    I tried in a Virtual Private Server and it does not work for me

    I do not know..maybe just leave like this..

    Will keep doing some tests to see

    Thanks anyway

    #1052305
    Leo
    Staff
    Customer Support

    Would be good if you can test it with another device.

    If I can see the correct layout as the logged out user then it shouldn’t be an issue.

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