How to center the alignment element in the mobile version?
source link: https://www.codesd.com/item/how-to-center-the-alignment-element-in-the-mobile-version.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
How to center the alignment element in the mobile version?
I tried to modify some element with the following text "Connect with Deepak" in my page but without little luck. Please help me to edit the CSS:
@media (max-width:560px) {
.vc_sep_holder .vc_sep_holder_l {
max-width: 320px;
margin:auto;
}}
@media (max-width:560px) {
.vc_sep_holder .vc_sep_holder_r {
max-width: 320px;
margin:auto;
}}
The two line always appear in mobile. Can someone provide advice to where I make mistake?
add this in your media query: .vc_separator.vc_sep_double {width:100%;}
Related Articles
How to run the mobile version of a website?
How to center the alignment of generic font icons vertically in a div circle?
How to center the variable length text in the element absolutely divided into div?
How to center the text in a div element?
How to center the elements in an isotopic container?
How to center the central circle?
GtkListStore - how to center the text?
How to center the text label in the iPhone Settings app
How to center the map view while following the user
How to view the SVN version in Maven using the build number plugin
How can I use CSS to control which part of an image appears in the mobile version of the site?
How to determine the opengl version under Windows?
I have python 2.7 and 3.6 installed on my mac. How to find the pip version associated with Python3?
how to get the windows version of emacs
How to load the desktop version of the web page via the PHP mobile page (user agent settings?)
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK