The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

images as borders for categories?

View previous topic View next topic Go down

Solved images as borders for categories?

Post by longstormicus on September 22nd 2015, 5:09 am

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 September 23rd 2015, 9:21 pm; edited 1 time in total

longstormicus
New Member

Posts : 8
Reputation : 1
Language : English

http://outcastwarriors.forum-motion.com/forum

Back to top Go down

Solved Re: images as borders for categories?

Post by Ange Tuteur on September 22nd 2015, 2:01 pm

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. Smile

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: images as borders for categories?

Post by KpuCk0 on September 22nd 2015, 3:04 pm

S/He wants every category with different picture.I tried to do something for this request, but without success. Sad


Design Team Leader


Rules of the Graphic Design Section || Becoming a Designer || Graphic Requests

Never tell your password to anyone!
No help without your forum URL!
No support via PM!

KpuCk0
Graphic Designer
Graphic Designer

Male Posts : 787
Reputation : 155
Language : Bulgarian, English
Location : Pleven, Bulgaria

http://www.lfsdrift.org

Back to top Go down

Solved Re: images as borders for categories?

Post by longstormicus on September 22nd 2015, 11:57 pm

@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. Smile

It's BEAUTIFUL! It's just as I wanted. Very Happy
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?

longstormicus
New Member

Posts : 8
Reputation : 1
Language : English

http://outcastwarriors.forum-motion.com/forum

Back to top Go down

Solved Re: images as borders for categories?

Post by Ange Tuteur on September 23rd 2015, 11:49 am

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. Wink

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: images as borders for categories?

Post by longstormicus on September 23rd 2015, 9:21 pm

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." Very Happy

longstormicus
New Member

Posts : 8
Reputation : 1
Language : English

http://outcastwarriors.forum-motion.com/forum

Back to top Go down

Solved Re: images as borders for categories?

Post by SLGray on September 23rd 2015, 9:31 pm

Topic solved and archived



When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36735
Reputation : 2447
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum