Tagged: ,

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #380646

    hi guys,

    I have a problem.. I want to display Title in the spesific page.. and hide title in all pages and post so i have this code below

    .main-title.entry-title {
    display: none!important;
    }

    1My question is that

    1. How can i display Title only in the spesific page? and hide title from all the pages and post..
    My post page id is 2615.

    2. How can i hide woocommerce cart icon (header) in mobile?

    Thanks

    • This topic was modified 9 years, 6 months ago by jalmz.
    #380669

    Hi jalmz ;
    #1
    the page “id” is a class attribute :
    to hide the “main-title.entry-title” in that page “2615” your code is :

    .page-id- .main-title.entry-title {display: none !important;}
    

    #2
    I’m nat sure that I’ve understood.

    #380674

    Hi begrafiks,

    1. I want to display Title only in page “2615” and hide title in all pages and post except for page 2615

    2. When i open my website using my iphone. the woocommerce cart is visible in the header.. i want to hide it in mobile..

    Thanks

    #380854

    Hey!

    1- Seems like the code @begrafiks posted worked? I can see title on your example page.
    2- I cannot see cart icon on mobile as well. Have you figured that one out too? :)

    Best regards,
    Yigit

    #381464

    Hi Yigit,

    I figured it out..

    1. ` .page-id-2615 .main-title.entry-title {
    display: block!important; font-weight:bold!important;}

    .main-title.entry-title {
    display: none!important;
    }`

    2. its not in the enfold theme, its in the ubermenu settings disable in mobile

    Thank you guys!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Display title in specific page and hide woocommerce cart in mobile’ is closed to new replies.