The header images on all my WordPress sites look fine on a big screen, but they aren’t responsive; they look like crap on small screens.
I finally decided to fix it, but am amazed at how hard it is. I’ve applied CSS to the head image, each of its containers, various combinations thereof, etc. with no luck. I tried a header image plugin and it instructed me to create a menu(?)!
Then I discovered the problem: The width and height are hard-wired into the image: width=”2000″ height=”1200″.
So it looks like I need to find the file that defines that width and change it there. But I haven’t been able to search for it, either because there are too many hits to sort through, or there’s some special coding that I don’t know how to search for.
So can anyone tell me where the header image’s width and height are defined? I want to replace it with “width: 100%” to make it responsive.
I’m using the twenty seventeen theme on some of my sites.
The page I need help with: [log in to see the link]
- The topic ‘Where is header img width defined?’ is closed to new replies.