How to hide this

Posted in: Newspaper
Post count: 225

How to hide this text (https://prnt.sc/h4z0j3) on the mobile device. Here I am using text with title widgets.

Post count: 23312

Hello Arafat,

Provide your website URL so I can inspect it closer your site and also, so I can find the element which you want to hide for mobile devices.

Thanks for the message!

Post count: 225

Site link: 10bestgear.com

Post count: 23312

Hi Arafat,

Here is talking about a block title. So, if you want to hide it only for mobile devices, you should add a custom class for it and then, with a bit of CSS code you can target to hide it only for mobile devices, like this ->

The code is ->

.custom_class .block-title {
display:none!important;
}

The result is here -> https://www.screencast.com/t/c12ulJFmUt1d

Thanks for the message!

Post count: 225

Not working check this: https://prnt.sc/h59vug

Post count: 22421

Hi,

Did you add a custom class to the block?
Please add a custom class like so: https://www.screencast.com/t/h58mRldXrNAv
Then you can add the code mentioned above in the theme panel under advanced css and place it in the mobile section.

Thank you!

Post count: 225

Yes, I add custom_class (https://prnt.sc/h5m35g), But it’s not working. Also check this: https://prnt.sc/h5m25c

Post count: 22421

Hi,

Try it simply like so:
.custom_class{
display:none!important;
}

Thanks.

Post count: 225

Not working. But when I remove important tag than its working.

.custom_class{
display:none;
}

Viewing 9 posts - 1 through 9 (of 9 total)
The forum ‘Newspaper’ is closed to new topics and replies.