How to change this color and text?

Posted in: Newspaper
Post count: 460

Hello team,

Can you you tell me where I can change the color of this button and the text it contains, for mobile (td-mobile) and for amp (td-amp)?

Thanks

Post count: 23312

Hi,

The theme does not have any such an option that allows you to make these changes, sorry! You need to use a bit of CSS code for that. Use the code below and place it in Theme panel -> Custom CSS area.

@media(max-width:767px){.form-submit input[type=submit] {
background-color: red;
color: green;
}
}

If you want to use a bit of CSS code to change the AMP style page, please edit here -> https://www.screencast.com/t/vIUHFAbD6uRH There’s no option for custom CSS code for AMP version, sorry! You need to follow the above advice if you want to customize your AMP version.

Hope this helps!

Thanks for your understanding!

Post count: 460

Hello @Catalin,

It doesn’t seem to work on my web, I don’t know why, I’ve tried on another website and it works, but on my personal web it doesn’t work (I’ve emptied cache).

https://fotos.subefotos.com/4897bdc1658419e3864280610c32db67o.jpg

https://fotos.subefotos.com/dea004a4a82aa2513eaa6b1a3217c004o.jpg

My web: https://bit.ly/2KB9tuB

Can you check please?

Post count: 20688

Hi,

If you use the mobile theme, custom code has to be entered here
https://www.screencast.com/t/lFac6PyQx
You can enter it like this in that case

.form-submit input[type=submit] {
background-color: red;
color: green;
}

Thanks

Post count: 460
Post count: 35449

Hi,

Please replace the above custom cee with this one
.wpcf7-form input[type=submit] {
background-color: lightgray;
color: blue;
}

If still do not work please provide a link were I can inspect the button.

Thank you.

Post count: 460

Hello,

You can check here, in mobile version: https://bit.ly/2QmGPTd

The code no run

Post count: 35449

Hi,

Now if you want to change this color for desktop please add this custom css in Newspaper>Theme panel>Custom code>Custom css
https://www.screencast.com/t/49hBDgs5cwu
Now if you want this on mobile, and you have mobile theme please set the css in Newspaper>theme panel>Mobile Theme custom code
https://www.screencast.com/t/Jz1dDGYW
Or if you want this on both, set the css in both places.
.form-submit input[type=submit] {
background-color: #913fe4;
color: white;
}

https://www.screencast.com/t/W9qcTV9dhY6
Hope this will help you.

Thank you for your understanding.

Post count: 460

Perfecto!

Gracias!

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