• Resolved Chaaroo

    (@chaaroo)


    Please css not change my css file main.css many time change but not support because css is optimize
    –This original css–
    https://news.chaaroo.com/wp-content/themes/newsmax/assets/css/main.css
    –Change–
    .main-menu-inner > li > a {
    position: relative;
    display: block;
    padding: 0 4px;
    text-transform: uppercase;
    white-space: nowrap;
    font-weight: 600;
    font-size: 12px;
    font-family: ‘Poppins’, sans-serif;
    line-height: 52px;
    -webkit-transition: color .25s ease;
    -moz-transition: color .25s ease;
    -ms-transition: color .25s ease;
    -o-transition: color .25s ease;
    transition: color .25s ease;
    }

    Css change but index page inline css not change so please tell me how can change this inline css.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    Evening chaaroo;
    If you want to exclude a file as for example the one you link, then you just have to add part of the filename to the comma-separated CSS optimization exclusion list, e.g. newsmax/assets/css/main.css.

    If you want to exclude inline CSS from optimization, then add a part of the inline code to the exclusion list, e.g. .main-menu-inner.

    hope this helps,
    frank

    preechamon

    (@preechamon)

    Hi Automize Matters!
    Thanks for your great effort in answering all these questions. I didn’t want to open a new Question since this one has fallen within my category.

    I’ve spent 3 days scratching my head as to why my CSS Editor doesn’t show any changes after clearing caches etc..well today I disabled one plugin at a time and Autoptimize is the “culprit”. I need to be able to use CSS Editor without the need to completely remove Autoptimize because If I turn it back on, the changing vanished, how do I exclude the css from been optimized ?.

    How can I achieve this goal sir?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    assuming the CSS is inlined (so added in the HTML between <style> tags), you can exclude by using a word from the CSS.

    Assuming you’re talking about

    
    <style type="text/css" title="dynamic-css" class="options-output">.banner-wrap{background-color:#ffffff;background-repeat:no-repeat;background-size:cover;background-attachment:fixed;background-position:center center;}.footer-inner{background-color:#282828;background-repeat:no-repeat;background-size:cover;background-attachment:fixed;background-position:center center;}...</style>

    then you could use .banner-wrap to exclude that entire block.

    hope this helps,
    frank

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Css Not Change’ is closed to new replies.