简体   繁体   English

在Woocommerce类别页面上显示侧边栏

[英]Display Sidebar On Woocommerce Category Page

My category page is currently putting the sidebar below the products: http://www.ontario-wine.com/product-category/white-wine/ 我的类别页面当前将侧边栏放在产品下方: http : //www.ontario-wine.com/product-category/white-wine/

This page uses Woocommerce's templates. 此页面使用Woocommerce的模板。 How do I get that side bar (called 'Regular Sidebar') to display on the right? 如何使该侧栏(称为“常规侧栏”)显示在右侧?

After taking a little glance at your store and playing with the ccs. 看了一眼您的商店并使用ccs之后。 I think the structure of the tempalates and the css should be fixed. 我认为模板和css的结构应该是固定的。

You can try my little experiment with inspect element of browser: I add the css for the div id=container => width: 50%; 您可以使用浏览器的inspect元素尝试一下我的小实验:我为div id = container => width:50%添加了CSS; float: left. 向左飘浮。 Then I change the css of div class=widget => float:left. 然后,我更改div class = widget => float:left的CSS。

Woala the sidebar displayed on the right. Woala右侧显示的侧边栏。

Of course the layout still a mess, this just to show you that the problem is within the design. 当然,布局仍然是一团糟,这只是向您表明问题出在设计之内。


enter link description here 在此处输入链接说明

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

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