images as borders for categories?
4 posters
Page 1 of 1
images as borders for categories?
Technical Details
Forum version : #phpBB3
Position : Founder
Concerned browser(s) : Mozilla Firefox, Google Chrome, Safari
Who the problem concerns : All members
Forum link : http://outcastwarriors.forum-motion.com/forum
Description of problem
Hello!I am modifying the appearance of my forum and I was wondering if it is at all possible to have images as borders for my categories AND have them all have their own individual images.
For example, the category border for "The Night Sky" would be purpley with stars, "The Clans" would probably be some nature thing, and so on.
Help would be greatly appreciated! We really want to get the website up and going again, and completing the appearance is one step in a list.
Thank you very much!
Last edited by longstormicus on Wed 23 Sep - 20:21; edited 1 time in total
Re: images as borders for categories?
Hi @longstormicus,
You want to add a background to the blue part of your categories, correct ? You already have the classes setup for your categories, so all you need to do is add a background image like this :
Just replace BG_IMAGE with your background image.
If any problems let me know.
You want to add a background to the blue part of your categories, correct ? You already have the classes setup for your categories, so all you need to do is add a background image like this :
- Code:
.forabg.the-clans {
background:url('BG_IMAGE') repeat 0 0 #0076B1;
}
Just replace BG_IMAGE with your background image.
If any problems let me know.
Re: images as borders for categories?
S/He wants every category with different picture.I tried to do something for this request, but without success.
Re: images as borders for categories?
Ange Tuteur wrote:Hi @longstormicus,
You want to add a background to the blue part of your categories, correct ? You already have the classes setup for your categories, so all you need to do is add a background image like this :
- Code:
.forabg.the-clans {
background:url('BG_IMAGE') repeat 0 0 #0076B1;
}
Just replace BG_IMAGE with your background image.
If any problems let me know.
It's BEAUTIFUL! It's just as I wanted.
I have one question: I see you have the hex color for my base category background in the code. If that changes, will I need to alter the code?
EDIT: It doesn't appear to be working for Outer Territories, the category at the bottom. It's one of two that isn't arranged side-by-side like the other categories. Is that why it isn't taking affect?
Re: images as borders for categories?
If you want you can remove the hex color code from the value. It's just a fallback you can place in case the image doesn't load.
Oh, that's because that one doesn't have a class name for it. Remember this script ? Just edit that to include the "outer territories" category.
Oh, that's because that one doesn't have a class name for it. Remember this script ? Just edit that to include the "outer territories" category.
Re: images as borders for categories?
Oooooooh right, I should have remembered. Now that I've done that, NOW it works right.
Thank you SO much! I'll mark the topic "Solved."
Thank you SO much! I'll mark the topic "Solved."
Re: images as borders for categories?
Topic solved and archived
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Similar topics
» Forum images change to Font Awesome images
» Trouble with images not sizing the same in different topics , forums , categories
» No borders on Tables
» Posting Tumblr Images of Tweets and Instagram causing my comments and Images to disappear
» like showing images in mobile version is possible to active the links in images
» Trouble with images not sizing the same in different topics , forums , categories
» No borders on Tables
» Posting Tumblr Images of Tweets and Instagram causing my comments and Images to disappear
» like showing images in mobile version is possible to active the links in images
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum