0

Removing Header Ad Only for Mobile Devices

How can I remove ads in header only for Mobile Devices but not for desktop?

1st Sep 2021, 2:34 PM
Kashyap Kumar
Kashyap Kumar - avatar
2 Answers
0
Can you please share the code so that I can understand what you want to implement??
1st Sep 2021, 4:21 PM
Anurag Singh
Anurag Singh - avatar
- 1
Kashyap Kumar , you can use css grid to achieve this. The class or the element should be hidden when the window size is of mobile. You must specify that the header will be visible on desktop size windows screen. Hope this helps you. Learning is Fun when we do it together. Follow, like and share to make Learning more fun.
1st Sep 2021, 4:32 PM
Success Ours
Success Ours - avatar