现在您需要找到该文件page.php。这是您主题的默认页面模板文件。 打开该文件并复制该get_header()行之后的所有内容并将其粘贴到计算机上的 full-width.php 文件中。 在full-width.php文件中,找到并删除这行代码: <?php get_sidebar(); ?> 1个 <?php get_sidebar(); ?> 此行获取侧边栏并
最简单的为Page删除侧边栏 这是删除前的效果: 最简单的方法就是安装插件:Fullwidth Templates for Any Theme & Page Builder。 然后再编辑对应的page页面即可。 找到你要设置全宽页面的page,编辑一下就可以了。 以上的效果就是通过安装插件,然后再编辑现有page就可以实现没有侧边栏的效果。 从WordPress中的静态页面...
A Full-Width Page means the content spans from right to left and takes the full 100% of the screen's width. Learn how to create it.
Template Name: Full-width page layout Template Post Type: post, page, product */这样就注册了新模板,用于文章、页面和自定义文章类型 Product。它将在经典和古腾堡编辑器的编辑页面右侧显示“发布属性”框,如下所示。请注意,你可以将“Template Post Type:”的值更改为任何已注册的文章类型。因此,如果只希望...
Including over ten home page designs, full- and fixed-width page templates, and even full page sliders, you have almost endless website design options. Of course, as a video theme, you also have the ability to embed videos from many popular platforms, including YouTube, Vimeo, Dailymotion,...
* Template Name: Custom Full Width * description: >- Page template without sidebar */ // Additional code goes here... The name under ‘Template Name’ is what will be displayed under ‘Page Attributes’ in the WordPress editor. Make sure to adjust it to your template name. ...
Use the optional “Full-width page, no sidebar” Page Template to remove the sidebar from any page. Want to simplify even more and remove the sidebar from all your posts and pages? Remove any active widgets from the Main Sidebar widget area and the sidebar will disappear. Customize Make ...
Big full-widthfeatured imageson any page Full-widthcolored sections Hundreds of iconsfrom Bootstrap and Font Awesome Variable column footerwith 1 to 4 columns Includes a child themeyou can use to start customizing your site and still be able to receive updates to the Flat Bootstrap theme. ...
.page-content { margin: 0 auto; max-width: 474px; } Change the max width from 474px to 80%. You will notice that the comment box will stay in the middle which is quite good and if you like it, okay, but if you wish to make it wider, look for the following code: ...
Drag-and-drop page builder Full-width banners and header images WooCommerce compatibility Multiple layout choices and font options Live Customizer support for real-time changes Best Used for:Small business, portfolios, personal blogs Why Choose Make?