Not sure if you saw this question, but I’m pasting it again, Is there a way that if someone chooses not to repeat the background that it can have the css style to cover the space verses contain or just add the option? Thank you!
Hi Jill,
I will post a bit late today or early tomorrow. I did misread the replies.Thank you
BrajeshNo problem! I don’t think you misread anything, the solution you gave for the background was great and with this last thing, i was just repasting it incase you missed it. Thank you!
bump…would love to know how to make an option for the background to cover. Right now its either repeating or contained so it doesn’t fill it all. Thanks!
Hi Jill,
You will need to change thisbody.is-user-profile #buddypress div#item-body{ background: url(<?php echo $image_url; ?>); background-repeat: <?php echo $repeat_type; ?>; }
to
body.is-user-profile #buddypress div#item-body{ background: url(<?php echo $image_url; ?>); background-repeat: <?php echo $repeat_type; ?>; background-size:cover; }
Regards
Brajesh
You must be logged in to reply to this topic.