Images on profile tabs - is it possible?
Design and Skin Customization
Is this the sort of thing you are looking to do ? I have added just two images for now to demo this, one for the audio and one for youtube. When they are hovered over the image is replaced with the original tab link so the user can tell for which it is referring to. Once clicked on it returns back to the image.
You can see it working here:
http://1940snetwork.com/founder
All this was done just using css in the profile.css template. You can just have images on certain tabs like the demo or have images on them all.
Here is how I did this.
First I got a couple of images, the ones I used where 128px x 128px transparent png's, and these I just uploaded via ftp straight into the skins img folder.
Next I added this to the profile.css sheet
.profile_menu a[href$="youtube"] > .profile_menu_entry {
background-image: url("/skins/jr1940sNetworkningja/img/videocamera.png") !important; color:transparent}
.profile_menu a[href$="audio"] > .profile_menu_entry {
background-image: url("/skins/jr1940sNetworkningja/img/music-record.png") !important;color:transparent }
.profile_menu a > .profile_menu_entry{background-size: contain;
background-repeat: no-repeat;
background-position: center center;}
.profile_menu a > .profile_menu_entry:hover{ background-image: none!important; color:blue }
So here is how it works
In the first line you see the href$="youtube" This is telling the css to look for the tab which ends with the word youtube at the end of the url and so appplies the background image to it. The background image you can see I linked to where it is by adding the url for it. Next the link text colour is set to transparent so it's not visible on top of the image. So to add more images you just add a new block for the tab as you can see for the one I added for the audio. This way you can just add images to the tabs you prefer or just add a block for each tab. It's really easy then to change or remove the images by just editing the url for the image or remove that block of css.
Next we add a little default styling for the images and that is the little block of code under the audio block.
And lastly the final line removes the image on hover and shows the text for the tab as blue.
updated by @john-bizley: 02/10/15 02:46:09PM