从头开始响应wordpress列(responsive wordpress columns from scratch)

编程入门 行业动态 更新时间:2024-10-10 03:24:52
从头开始响应wordpress列(responsive wordpress columns from scratch)

我正在开发一个自定义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/

更多推荐

本文发布于:2023-07-30 15:33:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1338823.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:responsive   wordpress   scratch   columns

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!