Site logo

Archived topic

Eliminate render-blocking resources CSS / Remove unused CSS

12 replies · Started by Lilia on July 10, 2019

Viewing posts 1–13 of 13

Dear GeneratePress Team,
I have a Problem (google Lighthouse) with Eliminate render-blocking resources!
https://www.eu-rights.com

I installed and configured autoptimize as you recommended but nothing changes in my side !

Pls help
thx
Lili

Hi there,

You only have 4 render-blocking resources, which isn't too bad. You can remove one by using a system font instead of a Google Font.

The others look pretty necessary to the overall functionality of the site.

Let me know if you have any other questions :)

Hi Tom,
many thanks for your effort, I will try today to disable the google fonts.

/EURIGHTS/(www.facebook.com) _blank nofollow
/eu.rights/(www.instagram.com) _blank nofollow
/eu_rights_com(twitter.com) _blank nofollow

how can i change the facebook, twitter and instagram button in dofollow

Thank you in advance for your answer

Lili

can you give me a tip for this Problem?

Buttons do not have an accessible name

<button class="menu-toggle" aria-controls="mobile-menu" aria-expanded="false"> <span class="mobile-menu"></span> </button>

how can i give the buttons alt"" name?

many thx
lili

1. Try this PHP:

add_filter( 'lsi_icon_rel_attribute', '__return_empty_string' );

2. I would re-add the word "Menu" in the options (Customize > Layout > Primary Navigation).

Then add this CSS:

.menu-toggle .mobile-menu {
    position: absolute!important;
    clip: rect(0,0,0,0);
    height: 1px;
    width: 1px;
    border: 0;
    overflow: hidden;
}

Many Thx Tom,
I will test everything tomorrow!

How can I solve the following problem

/EURIGHTS/(www.facebook.com) _blank nofollow
/eu.rights/(www.instagram.com) _blank nofollow
/eu_rights_com(twitter.com) _blank nofollow

how can i change the facebook, twitter and instagram button in dofollow

many many thx

Hi there,

Try this:

add_filter( 'lsi_icon_rel_attribute', '__return_empty_string' );

Dear Tom,
good morning,
I have implanted your suggestions but,

unfortunately, I can not enter an alt"" title for the buttons on my Page!
Can you give me an Idea how I can enter this

https://www.eu-rights.com/ first Button
first Button for exmpl.
https://www.eu-rights.com/claim/de/delayed
button have not "alt tag" - links have no text describing their destination

I always get this error message from the SEO - button have not "alt tag"
also in every same Pages like this site
https://www.eu-rights.com/flugverspaetung/
also with this buttons on this Site

I hope you understand my problem

many thx for your Help

Hi there,

Those buttons are created in Beaver Builder, so they would have to provide an alt field in their options for you to add to. Have you checked whether it exists or not?

Good Morning Tom,
"alt field"
unfortunately, I do not know where I can implant this. in the options, I found no possibility in bravebuilder. :/

Have you checked with their support? They might have a solution available.

Dear Tom,
good morning,

add_filter( 'lsi_icon_rel_attribute', '__return_empty_string' );

I have this code implanted in my php, unfortunately, I still have the warning social media links is no Follow
should I implant the code where else or better where exactly should I implant the code!
I have in my footer Lightweight Social Icons all this Icons is with No Follow

I have to change it to do follow

What can I do?

Thank you for your help
best regards
lili

How did you implement the code?

This archived topic is closed to new replies.