0

我将 Wordpress 与父主题 Primer、子主题 Mins 和 Elementor 页面构建器一起使用。我想使用 CSS 使标题全宽。这是我现在拥有的:

#masthead { margin: 0; padding: 0; width: 100%; }

我似乎无法删除标题右侧的边距。该网站是:

http://coolco.samhillmusic.com/

感谢任何帮助!谢谢

4

1 回答 1

0

I see in at some point of your css a max-width: 1100px, to overwrite it, you can add a max-width to your #masthead - look the example below :)

#masthead {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: unset;
}
于 2019-02-25T15:59:05.207 回答