css code wrong? Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

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.
2 posters

    css code wrong?

    avatar
    Hardcore Gamer
    Forumember


    Male Posts : 524
    Reputation : 4
    Language : English

    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.
    ankillien
    ankillien
    Energetic


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

    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.
    avatar
    Hardcore Gamer
    Forumember


    Male Posts : 524
    Reputation : 4
    Language : English

    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
    ankillien
    ankillien
    Energetic


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

    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;
    }
    avatar
    Hardcore Gamer
    Forumember


    Male Posts : 524
    Reputation : 4
    Language : English

    Solved Re: css code wrong?

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

    perfect. thanks, ankillien Very Happy

    solved.
    ankillien
    ankillien
    Energetic


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

    Solved Re: css code wrong?

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

    Glad to help Very Happy

    SOlved > Locked