Reply To: ive got cover photos for profiles working but…
ok this is still at the top so im not bumping it again lol, this is just to let you know ive managed to fix the problem anyhows, it was sort of staring me in the face.
incase anyone else is wanting to achieve this please click the link to the other post as mentioned above and change the code to this.
<style type="text/css">
body.is-user-profile div#item-header{
background:url(<?php echo $image_url;?>);
width: 100%;
background-size: 100%;
background-repeat: no-repeat;
}
</style>
turns out all i had to do was add div#item-header to body.is-user-profile for it to work.
Sometimes i need to give myself a shlaap and drink some more coffee when im up all night trying to add a new feature, lack of sleep can do this too you! haha