|
-
Apr 30th, 2012, 03:17 AM
#1
Thread Starter
Junior Member
Conditional stylesheet?
Hopefully an easy one for somebody...
The template I use for all of my pages looks at the style.css to get the header image. I want to change it so that it looks at who logs in and displays an image based on who they are.
This could be either multiple css or a line in the stylesheet. Either:
[username code to grab who logs in]/style.css
or
[username code within the stylesheet to point to a folder with their reqd image]
Any ideas folks?
-
May 2nd, 2012, 06:14 AM
#2
Re: Conditional stylesheet?
Is it just the header image that needs to change or are there other styles that should be specific to every user.
Roughly how many users are we talking about?
-
May 2nd, 2012, 07:09 AM
#3
Thread Starter
Junior Member
Re: Conditional stylesheet?
It's only the image header/ I've created a folder for the unique image and I'll point to the folder using session variables to grab who they are then go to that folder. The image will be located in their own folder. There are approximately 50 users
-
May 8th, 2012, 07:19 PM
#4
Thread Starter
Junior Member
Re: Conditional stylesheet?
I've solved it by having the requirded image appear on the page itself rather than in the master - much easier and just as effective for my project
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|