简体   繁体   English

如何使这个 wordpress 主题全宽?

[英]How do I make this wordpress theme full width?

I tried my best but I couldn't make the following theme full width/screen by editing the CSS.我尽了最大努力,但我无法通过编辑 CSS 使以下主题全宽/全屏。 I'd be very much grateful if you could show me or give me a hint regarding this customization.如果您能告诉我或给我有关此自定义的提示,我将不胜感激。

http://envirra.com/themes/blackmag/?cat=4 http://envirra.com/themes/blackmag/?cat=4

the theme itself has an option for full with and posts without sidebar, but it only displays the header and slider with full width, all the rest, the blog and footer is still boxed主题本身有一个完整的选项和没有侧边栏的帖子,但它只显示全宽的 header 和 slider,所有的 rest,博客和页脚仍然是盒装的

  • To create a new page layout you need to access your theme files and open up and edit page.php.要创建新的页面布局,您需要访问主题文件并打开和编辑 page.php。
  • create a template with full-width.php.创建一个全角模板。php。
  • Select a page template in admin page section. Select 管理页面部分中的页面模板。

For more information refer following link:有关更多信息,请参阅以下链接:

https://premium.wpmudev.org/blog/create-full-width-page/ https://premium.wpmudev.org/blog/create-full-width-page/

Add this css.添加此 css。

    @media (min-width: 1200px){
        .category  .container {
            width: 100%;
        }
    }

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM