Get resolution width in theme on init
-
Hello:
I am creating a custom child theme where I display several divs containing information. Each div is displayed one followed by the other in order to display them in a responsive way.
Depending on screen width there are less or more div lines.I need to control certain width resolutions because in big screen you can find first line with 5 divs and second with only one,
I need to adapt this case with near same divs number in each line.I think the best way is to get the resolution width when I create the divs using wordpress functions.
Anyone knows the way to do it?
Thank you
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘Get resolution width in theme on init’ is closed to new replies.