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.

Selective CSS

View previous topic View next topic Go down

In progress Selective CSS

Post by Deggerz on January 26th 2012, 10:30 pm

Code:
a[href="/u4"]{
    padding-left: 15px;
    background: url(http://img42.imageshack.us/img42/9779/forum2u.png) no-repeat left;
    text-shadow:0px 2px 15px #00ff00 !important;}

However, this adds the crown infront of the Avatar, and the profile button in posts

Anybody know how to get rid of these?


http://gamebefore.actieforum.com/t64-forum-updates

Deggerz
New Member

Posts : 20
Reputation : 0
Language : English

Back to top Go down

In progress Re: Selective CSS

Post by LGforum on January 26th 2012, 10:40 pm

change the first line to:

.name a[href="/u4"]{

LGforum
Hyperactive

Male Posts : 2260
Reputation : 258
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

In progress Re: Selective CSS

Post by Deggerz on January 26th 2012, 10:45 pm

@LGforum wrote:change the first line to:

.name a[href="/u4"]{

Perfect!
Now do you know how to add the effects to the front of the name on the profile?
http://gamebefore.actieforum.com/u4



Edit
This now no longer shows the effects on homescreen (online members, recent posts etc.)

Deggerz
New Member

Posts : 20
Reputation : 0
Language : English

Back to top Go down

In progress Re: Selective CSS

Post by LGforum on January 26th 2012, 10:49 pm

Why RD?

CSS is much faster, and more reliable method.
CSS has no execution time, its literally predefined rules.

The CSS route is much better.

To solve this problem:
This now no longer shows the effects on homescreen (online members, recent posts etc.)
Add the original CSS from the first post and then after it add this:

Code:

.postdetails a[href="/u4"] {
  background-image: none;
}

That will take it off the avatar, but will keep the homepage ones intact.


Last edited by LGforum on January 26th 2012, 10:52 pm; edited 1 time in total

LGforum
Hyperactive

Male Posts : 2260
Reputation : 258
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

In progress Re: Selective CSS

Post by Deggerz on January 26th 2012, 10:52 pm

@Rideem3

Thats great!
Now thats still not on the profiles
Also, how to make it use the effects on the chatbox?

Deggerz
New Member

Posts : 20
Reputation : 0
Language : English

Back to top Go down

In progress Re: Selective CSS

Post by Nera. on January 26th 2012, 10:53 pm

The name on the profile is not a link so it wont show like that.

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

In progress Re: Selective CSS

Post by LGforum on January 26th 2012, 10:53 pm

I edited my post above to include the homepage background images and to take it off the avatars.

Now to include it in the profiles that WOULD mean JS, since there is nothing unique determining the element of the username in the profiles.

LGforum
Hyperactive

Male Posts : 2260
Reputation : 258
Language : English
Location : UK

http://www.avacweb.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