Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter darkpollo

    (@darkpollo)

    As sugestion this could be fixed with a “none” option on the aligment of the widget.

    thanks

    Plugin Contributor Jen Baumann

    (@dreamwhisper)

    Hi!

    If you’d like to use the alignright option on desktop, then have it switch to aligncenter when the layout changes, you can try adding this to your theme style.css file.

    @media only screen and (max-width: 1023px) {
    
    	.header-widget-area .simple-social-icons ul.aligncenter li {
    	  display: inline-block;
    	  float: none;
    	}
    
    	.header-widget-area .simple-social-icons ul.alignright {
    	  display: block;
    	  float: none;
    	  margin: 0 auto;
    	  text-align: center;
    	}
    
    }
    Thread Starter darkpollo

    (@darkpollo)

    Sorry for the late reply.
    That code put the icons on the left (float:none) instead of centered.
    I tried with this and setting the widget at aligncenter and it seems to work.

    @media only screen and (min-width: 1023px) {
    
    .simple-social-icons ul.aligncenter {
      text-align: right !important;
    }
    }
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Aligment on mobile’ is closed to new replies.