HTML & CSS
Or should it be done w/jquery & if so what is the bkm please?
basically I have title in the .php with an id, set to <h2> for the full size screen.
when the screen goes to 800px or less I want to change it <h4> for example. How can I go about doing this please?
I don't think I can do this css.
No, you'd need JS for that. But I suspect you are thinking about this the wrong way. It's either an h2 or an h4. It sounds like you are confusing the meaning of the HTML with the appearance of the HTML. Is it just that you want the heading to appear differently on different screen sizes? In that case, just change its styling with @media rules.
you know...you are semi right. sorry long day at work. just targeted the #text h3 & changed the color & size w/a @media query.
sorry! don't know what I was thinking...
No problem! Glad your question is answered.
This topic is now closed. New replies are no longer allowed.