Advanced CSS and escape issue

Posted in: Newspaper
Post count: 26

Hi,

I’ve added the following CSS line on the mobile area:
#homepage-logo-dani-row .tdm-image-box{ background-image: url('https://fitnessperlei.it/wp-content/uploads/2020/07/home-page-dani-fitness-mobile.jpg')!important;}

If I see the source code of the page, once rendered, I see the following line:
#homepage-logo-dani-row .tdm-image-box{ background-image: url(\"https://fitnessperlei.it/wp-content/uploads/2020/07/home-page-dani-fitness-mobile.jpg\")!important;}

As you can see an incorrect escape is added to the code after page loading. In this way, my css is not working.

You can see it on http://www.fitnessperlei.it using the mobile version.

Thanks,
Max

Post count: 35449

Hi,

I just checked your website and the code is set correctly and the featured image is working -> https://i.imgur.com/AgAbN1o.png

Thank you!

Post count: 26

Yes, I did it without quotes and it worked. There was the only way. Otherwise there is the issue.

Post count: 35449

Hi,

I’m glad that you found a way to solve it.

Thank you!

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