How to hide subpage.

Solved

How to hide subpage.

AdrianSobczak
Excursionist
21 2 5

 

Hi!

I need to hide one of my subpage names, "Levi's," for some time.

There is any option to do this without deleting it? 



side.PNG

Thank you in advance!
(ELLA THEME)
URL: https://denimo.pl/

Accepted Solution (1)

Moeed
Shopify Partner
5366 1452 1738

This is an accepted solution.

Hey @AdrianSobczak 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

 

<style>
li:has(>a[href="/collections/levis-meskie"]) {
    display: none;
}
</style>

 

RESULT:

Moeed_0-1726035699663.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Custom Design | Advanced Coding | Store Modifications


View solution in original post

Replies 2 (2)

BSSCommerce-HDL
Shopify Partner
2298 847 1061

Hi @AdrianSobczak

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag:

<style>
li:has(>a[href="/collections/levis-meskie"]) {
    display: none;
}
</style>

 Here is result: 

BSSCommerceHDL_0-1726035639375.png

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

Moeed
Shopify Partner
5366 1452 1738

This is an accepted solution.

Hey @AdrianSobczak 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

 

<style>
li:has(>a[href="/collections/levis-meskie"]) {
    display: none;
}
</style>

 

RESULT:

Moeed_0-1726035699663.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Custom Design | Advanced Coding | Store Modifications