sorry im not bumping this post as its already at the top i forgot to mention @timvango who originally gave the answer in the linked thread to see if he could help shed some light on this, oh and @peter-hamilton who has also managed to do this already on his website, ty for helping in advance guys if you can.
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
Nice one mate, you figured it out in a few hours, took me about 6 weeks.
It is quite a nifty feature when done correct, hope you will share your URL when you ready so we can have a look.
P.H.
And I am prepping a small tutorial on how to do the same for groups, should be ready later today or tomorrow.
It is similar to the profile header for members, which is actually based on the group custom background plugin.
Both member and group header plugins have been hardcoded in my child theme to minimize calls to my plugin folder, and together only require two files and a few lines in functions.php.
I am almost finished with my theme/site, have a look on my progress, response is very motivating, even negative is helpful.
onlijn.com/my-profile
Awesome and welcome move by you both,
Waiting for tutorial of your works.
Than you,