How to make Full width lines Responsive
-
Hey,
So I was hoping to get some support on this one if anyone knows how to do it.
Basically, I have added two lines on the header of my website with 1200px width. however, this is damaging the mobile visualisation as these lines maintain the same px instead of going responsive.
the website is this one https://www.ios-security.co.uk and you may see one line on the very top with 6px of height. And another one but thiner below the main menu with just 2 px of height.
does anyone knows how can I maintain these lines as they are on a desktop view but, once minimised to a tablet or a mobile making them responsive as well ?
this is what I have:
the thicker line on top:
<div class=”aligncenter” style=”width:1200px;height:6px;background-color:#0c3c60;font-size:0;”>-</div>the thiner line below:
<div class=”aligncenter” style=”width:1200px;height:2px;background-color:#0c3c60;font-size:0;”>-</div>Many thanks in advance
- The topic ‘How to make Full width lines Responsive’ is closed to new replies.