Site logo

Archived topic

scroll to element adjustment prime theme

5 replies · Started by Nicholas on June 24, 2021

Viewing posts 1–6 of 6

scroll to element adjustment prime theme

hi, hope you are well.

how would you adjust the theme to scroll to a more logical section of product as per my video in private section.

tks

Hi Nicholas,

I've checked the site and the button's href link was pointing to #sales which is the section that contains the "On Sale" section.

If you want to make the button scroll down to the first section before "On Sale", you should add a HTML anchor to the container of "Types Of Products".

Say for example, add products.

You then change the href link of the button from #sales to #products so it jumps to the Types Of Products section.

Hi thanks

but what i want to do is add two categories horizontally then have it scroll to the top one first. So the first category would be bollards please see video in private section

thanks a mill

Hi there,

lets get the Products by category displayed first.

The shortcode you need is this one:

https://docs.woocommerce.com/document/woocommerce-shortcodes/#scenario-5-specific-categories

An example of which would be:

[products limit="8" columns="4" category="bollards"]

That will show a maximum ( limit ) of 8 products, in a 4 column row of products within the bollards category

The other shortcode you showed in your video is for showing the Product Categorys themselves - not the products within those categories.

thanks a million!

Glad to be of help - did you resolve the Button link issue ?

This archived topic is closed to new replies.