Wordpress 在第二页上调整特色产品的大小 [英] Wordpress resizing featured products on a second page

查看:28
本文介绍了Wordpress 在第二页上调整特色产品的大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试为 wordpress 中的每个产品类别创建一个新页面.(例如郁金香).

I am trying to create a new page for each of my product categories in wordpress.(E.g Tulips).

在页面文本编辑器中,我使用短代码将那个类别的产品放在页面上.

In the page text editor I am using the shortcode to put the products for that one category on the page.

我注意到产品比主页使用相同的短代码时显示的要小.

I noticed that the products are smaller than they appear when using the same shortcode for the home page.

有谁知道如何将我的产品页面上的特色产品放大一点?

Does anyone know how I can make the featured products on my product page a little bigger please?

主页是 - www.flowersforeveryone.co.za

The home page is - www.flowersforeveryone.co.za

我正在处理的特色产品页面是 - https://flowersforeveryone.co.za/发送郁金香/

The featured product page i'm working on is - https://flowersforeveryone.co.za/send-tulips/

我在产品页面中使用的代码是 -

The code i'm using in the product page is -

[recent_products per_page="24" columns="3" orderby="title" order="ASC" paginate="true" category="Tulips" width=300px]

它与主页小部件中的代码完全相同,但具有不同的类别.

It's exactly the same code that's in the home page widget but with a different category.

推荐答案

在主页中您没有在 HTML 结构中使用容器类,因此此页面为产品拍摄全宽图像.但是在您的内部页面中,您在 HTML 结构中使用了容器类,这些类的宽度为 1170 像素,因此所有产品仅在容器中进行调整.所以你需要从内页中删除容器类或给容器类全宽.

In Home Page You not used Container Class in HTML Structure so this page taking Full width images for Product. But in your inner pages you used Container Class in HTML Structure those class has 1170px width, so all the Products are adjusted in container only. So you need to remove container class from inner pages or Give full width to container class.

这篇关于Wordpress 在第二页上调整特色产品的大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆