Hello @crealider,
The background is already responsive (background-position: center and background-size: cover). But you’re free to add new CSS if you know a better approach for responsive background.
Here you can find how to add new css rules:
https://ww.wp.xz.cn/support/topic/background-size-how-can-i-change-it-in-contain/#post-8361196
Thanks.
Hello George,
I use the code of the another topic and it seems that it works making the image responsive but also it appears the text “} add_action(‘wpmm_custom_css’); function wpmm_custom_css(){ echo ”; } ” in the screen.
Thanks for feedback.
Hello @crealider,
You should put the code at the end of the functions.php (from your theme folder) … before the php closing tag (if any). Also… check the php syntax, maybe there is something wrong.
Thanks.
-
This reply was modified 9 years, 5 months ago by
George J.