Hiding the button does not hide the padding

Posted in: Newspaper
Post count: 21

Hey,

if I check the button that I want to hide it when the link is not filled, I still get padding on the screen from the set button, so then the button is not even.

How to solve this?

https://ibb.co/0sm9NTs
https://ibb.co/0Xss04G

thanks

Post count: 27744

Hello,

The option only hides the button and does not exclude the code for the button from the page source.
Also, please provide the link and what padding is there.

Thank you!

Post count: 21

Hello,

thanks for the message. So if I place e.g. 3 buttons underneath me, it creates an unsightly gap. But if there is no padding inserted, there is still a small space that stays there.

Is there any way I can use ACF to create a condition such that if I don’t check an option in the post, the entire row doesn’t appear? Or another element?

Post count: 27744

Hi,

Please let me know where you want to add the button to know if it will work with custom field.

Thank you!

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