Hide image on mobile with CTA?

Hello Community,

We’ve set up a pop-up CTA with a form to collect newsletter subscribers. We’ve included an image and a text block, and it works fine on desktop. On mobile, however, the image and text are stacked one below the other.

Is there a way to hide the image on the mobile version? Or another way to ensure the CTA loads properly on mobile?

Thanks!

Hi @NReitsma,

1. Check if you have this toggled on: CTA > Design > Enable responsive layout.

If it is on, the columns of your CTA will stack on a small screen.

2. Then you can use Smart rules for Image:

3. Then choose Editing for: Mobile > and delete the image

Then choose Editing for: Default(Desktop) > keep the image


Cosmin Explore
HubSpot Consultant | Funnel Optimization & CRM Admin
Problem solved? Hit “Accept as Solution” and help the next person find it faster.

Ahh that works! Thanks :slightly_smiling_face:

Follow-up question; the mobile version image is now very broad and it is difficult to Do you have tips for padding for this?

Thanks!!!

Glad it has worked, @NReitsma

Adding the padding you have mentioned in your latest comment requires custom css being added in your site’s main stylesheet.

The default left-right margins are 5px.

You woud just need to add:

margin-left: 15px;

margin-right: 15px;

But the more difficult task would be to find the your CTA ID inside the stylesheet.