Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1122477

    A few years ago I was given this Glassy Header CSS code. And used it on other sites and it worked.

    However now I get an ! type error on filter:

    This is the CSS code

    #top .av_header_glassy.av_header_transparency .header_bg {
    background-color: #fff;
    opacity: 0.5;
    filter: alpha(opacity=50);
    }

    However in Appearance > Theme Editor > where I do the editing for the Child Theme, it has an ! make on the line for filter:
    This is what it says on mouse over…
    “! Expected (<filter-function-list> | none) but found ‘alpha(opacity=50);”

    Your help would be greatly appreciated.

    Cheers Dave

    #1122551

    Hey Dave,

    Please have a look at the docs here:
    https://developer.mozilla.org/ru/docs/Web/CSS/filter

    You can just remove this part:

    
    filter: alpha(opacity=50);
    

    Best regards,
    Victoria

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