Solved: 7 Years, 4 Months ago Add colours to background post of user groups
#40
Solved: 7 Years, 4 Months ago
(2015-01-17, 11:29 AM)SvePu Wrote: I thought you mean the user profile in postbit because we are talking about posts in this topic.
But what you want is almost the same stuff.

Open the theme template "member_profile" to edit.

Search for:
{$header}
<fieldset>

Replace this part with:
{$header}
<fieldset class="memprofile_gid{$memprofile['usergroup']}">

Save changes and open theme "css3.css" in advanced mode to edit

Add your desired css rules to that file and saved your changes.

CSS example
fieldset[class^=memprofile_gid] {
    background-repeat: no-repeat;
    background-position: 50% 50%;
    -webkit-background-size: cover;   
    -moz-background-size: cover;   
    -o-background-size: cover;   
    background-size: cover;
}

fieldset.memprofile_gid4 {
	background-image: url(images/profile_gid4.jpg);
}

fieldset.memprofile_gid2 {
    background-image: url(images/profile_gid2.jpg);
}

Results:

That is still not really what I want, but I will use this code to do it as I know how to change it
Reply


Messages In This Thread
RE: Add colours to background post of user groups - by Icon - 2015-01-17, 04:25 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)