css - How to remove padding from left&right side

Im trying to remove the padding from left&right side by following custom css but doenst work#main.site-main,.contain

Im trying to remove the padding from left&right side by following custom css but doenst work

#main.site-main,.container, .site-content{
    margin: 0;
    padding: 0em;
}

Please advise how to solve this. The website is www.taro0329

Thank you

Im trying to remove the padding from left&right side by following custom css but doenst work

#main.site-main,.container, .site-content{
    margin: 0;
    padding: 0em;
}

Please advise how to solve this. The website is www.taro0329

Thank you

Share Improve this question asked Sep 27, 2019 at 8:08 TreyTrey 31 bronze badge 8
  • I have checked your site your I can't found padding prnt.sc/pbnc1g – Dharmishtha Patel Commented Sep 27, 2019 at 8:56
  • Thank you for your support. So means I can not remove them? Im using Vantage template – Trey Commented Sep 27, 2019 at 9:02
  • can you share your link – Dharmishtha Patel Commented Sep 27, 2019 at 9:07
  • I just want to remove the white blank on the left and right side – Trey Commented Sep 27, 2019 at 9:08
  • which one can you please share screen short – Dharmishtha Patel Commented Sep 27, 2019 at 9:09
 |  Show 3 more comments

1 Answer 1

Reset to default 0

Instead of setting up margin/padding. Try setting up max-width of full-container a <div> next to site-main:

body.responsive.layout-full #page-wrapper .full-container {
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
}

You can change max-width to your desired percentage value.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745125114a4612642.html

相关推荐

  • css - How to remove padding from left&amp;right side

    Im trying to remove the padding from left&right side by following custom css but doenst work#main.site-main,.contain

    4小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信