最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Mobile view: how to remove rightleft margin from the specific widgets?

programmeradmin2浏览0评论

May I know how to remove right/left margin from the bottom two parts(Lessons and Fees,Contact) of my website on phone? It seems ok on PC but not on phone. Especially the table for prices lookes terrible.

*I use Moesia theme. The first 4 widgets are called "Moesia FP"(guess their original widgets) and the rests are Siteorigin Editor/Form.

*I have installed 4 Plugins; Athemes Toolbox, Moesia - Masonry Portfolio, Page Builder by SiteOrigin, SiteOrigin Widgets Bundle. When I inactivate Page Builder by SiteOrigin, the margin problem is gone but all the Moesia original widgets desappears.

*I found some CSS online but didn't work.

I am very new to this kind of thing and have no idea what to do. mar Thank you!

May I know how to remove right/left margin from the bottom two parts(Lessons and Fees,Contact) of my website on phone? It seems ok on PC but not on phone. Especially the table for prices lookes terrible.

https://www.japaneselessons-kanazawa

*I use Moesia theme. The first 4 widgets are called "Moesia FP"(guess their original widgets) and the rests are Siteorigin Editor/Form.

*I have installed 4 Plugins; Athemes Toolbox, Moesia - Masonry Portfolio, Page Builder by SiteOrigin, SiteOrigin Widgets Bundle. When I inactivate Page Builder by SiteOrigin, the margin problem is gone but all the Moesia original widgets desappears.

*I found some CSS online but didn't work.

I am very new to this kind of thing and have no idea what to do. mar Thank you!

Share Improve this question asked May 8, 2020 at 5:36 NozomiNozomi 1
Add a comment  | 

1 Answer 1

Reset to default 0

You just need to add media queries for mobile screens.

Add CSS in the stylesheet.

if you want globally add this:

@media only screen and (max-width: 600px) {
  #pl-2040 #panel-2040-4-0-0, #pl-2040 #panel-2040-5-0-0 {
      margin: 0;
  }
}

If you want to implement only on the homepage try this:

@media only screen and (max-width: 600px) {
  .home  #pl-2040 #panel-2040-4-0-0, #pl-2040 #panel-2040-5-0-0 {
      margin: 1cm 1cm 1cm 1cm;
  }
}
发布评论

评论列表(0)

  1. 暂无评论