在wordpress上更改小部件网格大小

时间:2018-02-02 20:14:20

标签: wordpress

我需要更改wordpress小部件的网格大小。它目前的网格大小为中等8,并希望改变中等6。它位于该网站的主页上,并有一类家庭中左。我将在chrome控制台上附上标记图片。如果您需要任何其他详细信息,请告诉我们。我想不出还有什么要补充的。提前感谢您的帮助。

Html Markup of widget

1 个答案:

答案 0 :(得分:0)

Can you access the HTML?

If you changed it to medium-6, the row won't span full width because the right column is still medium-4.

You could use CSS.

.home-middle-left {
    @media (min-width: 600px) and (max-width: 1024px) {
        width: 50% !important;

    }
}

You will need to wrap that in a medium query though, but this depends on your website settings so I cannot add this. But it will be something like the above.