The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

css code wrong?

2 posters

Go down

Solved css code wrong?

Post by Hardcore Gamer December 29th 2009, 3:24 pm

in this topic - https://help.forumotion.com/manage-the-appearance-of-your-forum-f45/deleting-these-links-on-my-forum-t61500.htm

aiman_bleach gave me this code -


td[align="right"] .gensmall a {
display : none;
}

to delete some links of off my forum page. and i am starting to think that this code is wrong. when i don't input this code into my css it's fine (check the picture below, marked in red)
css code wrong? Szhxndxksmmwsh
now as you can see there are 2 pages in that topic but when i input that code into my css it shows up like this (see picture below, marked in red)
css code wrong? Szhxndxksmmwsb
why is this? is the code wrong or something? any help would be very appreciated.

regards.
avatar
Hardcore Gamer
Forumember

Male Posts : 524
Reputation : 4
Language : English

Back to top Go down

Solved Re: css code wrong?

Post by ankillien December 29th 2009, 3:31 pm

Hello,

The code isn't wrong but it is a limitation of the phpBB2 template.
Those links on right side are having same class as those on the index page so they are removed.

If you want another solution for removing links from the index page, I can give you. It won't delete any other links then.
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Solved Re: css code wrong?

Post by Hardcore Gamer December 29th 2009, 3:50 pm

ankillien wrote:Hello,
If you want another solution for removing links from the index page, I can give you. It won't delete any other links then.
yes, that would be great. Smile
avatar
Hardcore Gamer
Forumember

Male Posts : 524
Reputation : 4
Language : English

Back to top Go down

Solved Re: css code wrong?

Post by ankillien December 29th 2009, 3:59 pm

First of all, remove this from your CSS...

Code:
td[align="right"] .gensmall a {
display : none;
}

....and add this one...

Code:
a.gensmall[href$=activetopics] ,
a.gensmall[href$=today_posters] ,
a.gensmall[href$=overall_posters] {
display : none;
}
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Solved Re: css code wrong?

Post by Hardcore Gamer December 29th 2009, 4:10 pm

perfect. thanks, ankillien Very Happy

solved.
avatar
Hardcore Gamer
Forumember

Male Posts : 524
Reputation : 4
Language : English

Back to top Go down

Solved Re: css code wrong?

Post by ankillien December 29th 2009, 4:15 pm

Glad to help Very Happy

SOlved > Locked
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Back to top

- Similar topics

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