/    Sign up×
Community /Pin to ProfileBookmark

How to hide content for mobile

Hi – I have a site (Propress.co.uk) where I have used css code to hide certain parts of the homepage on the mobile view. But I was doing this to improve page load speed but I can still see in the hidden content in the source code so I presume I am not speeding it’s loading up. It’s still there just not visible, and if it is still there it is taking time to load right? Is there a way you can hide the source code from browsers/Google so I CAN get a speed benefit?

to post a comment
CSS

1 Comments(s)

Copy linkTweet thisAlerts:
@sibertFeb 23.2024 — First. WordPress is not the simplest way to make fast web sites.
Second. Hiding by CSS, does prevent loading.

My advice is to first fix the overall limitations and error in your site on desktop.

And reduce the number of plugins if possible.
×

Success!

Help @matt23 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 4.13,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...