我正在开发一个自定义wordpress主题,目前正在使用列短代码插件来实现列,但它们运行不正常。 例如,他们突然停止浏览浏览器,现在只会在另一个页面上显示一个,除非在一个页面上,如果在短代码之间放置它们(不应放置它们,也不打开div)它们将起作用...这是拼写错误,现在是使短代码列正确显示的唯一方法。 当他们开始表现得很奇怪时,我没有处理任何代码,所以我不确定发生了什么。
如果有人用列短代码体验过这个,请告诉我。 否则,我正在寻找一个教程或者其他东西来教我如何创建编码良好的响应列,这些列在wordpress中工作而不使用插件。
I'm developing a custom wordpress theme and currently using the column shortcodes plugin to achieve columns but they aren't working well. For example, they suddenly stopped going across the browser and will now only display one on top of the other except for on one page where they will work if a is placed between the shortcodes (where it should not be placed, nor was div even opened...this was typo that is now the only way to make the shortcode columns display properly). I wasn't working on any code when they started acting weird, so I'm not sure what's happening.
If anyone has experienced this with column shortcodes, let me know. Otherwise, I'm looking for a tutorial or something to teach me how to create well-coded, responsive columns that work in wordpress without using a plugin.
最满意答案
我建议使用像bootstrap / foundation这样的框架或像骨架一样的轻量级框架。
shoelace.io为bootstrap创建响应列。
如果您只支持现代浏览器,请尝试CSS3列http://html5css3box.com/multiple-columns/
I recommend working with a framework like bootstrap/foundation or lightweight framework like skeleton.
shoelace.io create responsive columns for bootstrap.
If you only support modern browsers try CSS3 columns http://html5css3box.com/multiple-columns/
更多推荐
发布评论