Header/Footer Image disappears when data-spai="1"

Posted in: Newspaper
Post count: 8

With Newspaper Plugins & shortPixel SPAI plugin as the ONLY plugins turned on and all newspaper lazyloading DISABLED – this tag is still added to my CSS.

Additionally, the tag > data-spai=”1″ < doesn’t appear to be controlled by anything in the front-end of the site.

Question: What is this css-selector for? How can I turn it OFF for my header & footer images? It doesn’t appear to cause issues with other parts of the site & images being picked up by shortPixel.

Please let me know what data-spai=”1″ CSS is doing?
What can I do on the front-end to disable it for the header/footer?

Theme: Live Pro.

When data-spai=”1″ is removed from the CSS (Chrome/Firefox dev tools) the header logo and footer logos show up.

Thank you.

Post count: 8

Figured out part of this – the root cause is SmartPixel – and the way they are processing images. Will provide update once I hear back from customer support.

Post count: 35449

Hi, I’m glad that the problem was sorted out!
If you have other questions related to our theme, let us know!
Have a nice day!

Post count: 8

I reached out to the ShortPixel team and received an answer on how/what fixes this issue. I have applied this fix & it works.

NOTE: For my Newspaper Theme setup I am using the sticky header for both desktop & mobile.

Solution: Go to (WP)Settings > ShortPixel AI > Behaviour and disable the option “Fade-in effect”, located on Settings > ShortPixel AI > Behaviour.

  • This reply was modified 6 years by hamiltond.
Post count: 35449

Hi hamiltond, I’m glad that this problem was sorted out!
If you have some questions regarding our theme, let us know!
Have a nice day!

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.