pdxsherpa — 2013-07-22T18:57:25-04:00 — #1
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.
ralphm — 2013-07-22T19:16:53-04:00 — #2
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.
pdxsherpa — 2013-07-22T22:22:42-04:00 — #3
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...
ralphm — 2013-07-22T22:26:14-04:00 — #4
No problem! Glad your question is answered.