CSS code in order to hide a page from my desktop

Solved

CSS code in order to hide a page from my desktop

MT27
Pathfinder
169 6 16

Hi can you please help me with the CSS code in order to hide the FAQ page from my desktop (but keep on mobile), because I cant find how to do it. Thank you

URL: https://matibrnd.com/

Pass: biangu

MT27_0-1706855906568.png

 

 

Accepted Solution (1)

Dan-From-Ryviu
Shopify Partner
11028 2160 2306

This is an accepted solution.

Hi @MT27 

Please add this code to theme.liquid file, after <head> in Online store > Themes > Edit code to do that

 

<style>
@media (min-width: 768px) {
.header .header__inline-menu .list-menu li:last-child { display: none !important; }
}
</style>

 

- Solved it? Hit Like and Accept solution!
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

View solution in original post

Replies 2 (2)

Dan-From-Ryviu
Shopify Partner
11028 2160 2306

This is an accepted solution.

Hi @MT27 

Please add this code to theme.liquid file, after <head> in Online store > Themes > Edit code to do that

 

<style>
@media (min-width: 768px) {
.header .header__inline-menu .list-menu li:last-child { display: none !important; }
}
</style>

 

- Solved it? Hit Like and Accept solution!
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

niraj_patel
Shopify Partner
2391 516 515

Hello @MT27 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid

<style>
@media screen and (min-width: 990px){
    .header .header__inline-menu .list-menu li:last-child {
         display: none !important;
     }
  }
</style>

techlyser_web_0-1706857447605.png

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.

 

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com