• Hi,

    After the WP update and update of my theme the logo on transparent header are invisible. When i use the inspect tool i can see the logo, but when i set te opcaity to 1 it show the logo from the logo with background.

    I can see if i deactive the plugin the logo will show. But i want to use the plugin. Are there some settings that i need to change?
    Other who have the same issue.

    WP version: 5.7.1
    Theme: Enfold, 4.8.2 (atest version)

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Denis Ryabov

    (@dryabov)

    > After the WP update and update of my theme

    Maybe it’s a conflict of above-the-fold CSS rules generated for old theme version and new CSS in the updated theme. Try to regenerate Above-the-fold CSS (or disable it) in Advanced settings (see “Eliminate render-blocking JavaScript and CSS in above-the-fold content” section).

    Thread Starter best0ne

    (@best0ne)

    I just tried to regenerate it and it did not help me.
    I have cleared all cahce.

    Plugin Author Denis Ryabov

    (@dryabov)

    The problem comes from the following code in your HTML sources (inside of <span class='subtext'>):

    <img src="https://das-karrosseri.test-one.dk/wp-content/uploads/2021/04/logo.png" src="" src="" class='alternate' alt='' title='logo' />

    Note there are three(!) src tags, and PageSpeed Ninja relies on the last one (dropping others), and so src tag is empty in the optimized page. Most likely the simplest solution is to found where that image tag is generated, and remove duplicated src tags there.

    Thread Starter best0ne

    (@best0ne)

    Yeah i can see that there are more than one src. But there have never been an issue before.
    In the theme I can set it so it have one kind of logo on transparent header and one without transparent. So i can have two different logos and it have never been an issue before. So I cant go into the code and change the scr.

    Thread Starter best0ne

    (@best0ne)

    Is is possible to exclude only the logo in the plugin and still keep it to optimize the images?

    Thread Starter best0ne

    (@best0ne)

    Thread Starter best0ne

    (@best0ne)

    Hi @dryabov

    Can i exclude the logo, so it wont be affected by the plugin?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Logo on transparent header are invisible’ is closed to new replies.