Display none

This topic contains 10 replies, has 3 voices, and was last updated by  memorex13 5 years ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #486032

    memorex13
    Expired Member
    Post count: 540

    Hi,

    I need help for the next example. If there is someone willing to watch this.
    With the css put in the photo, the 3 options disappear. I would like to eliminate only the nr1 and nr 2 the nr3 since the nr 4 is to take to the address. The icon is not a button.

    If I use the following css everything is deleted therefore I do not have the option to click on how to get

    .geodir_post_meta_title {
    display: none;
    }

    Thanks

    #486034

    memorex13
    Expired Member
    Post count: 540
    This reply has been marked as private.
    #486064

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    please say more about what you are trying to do. I do not understand what you wrote here.

    #486084

    Kor
    Moderator
    Post count: 16516

    Hi memorex13,

    Thanks for your reply. Kindly refer to this example https://www.w3schools.com/cssref/sel_nth-child.asp and see if it’s what you’re looking for. If not, please elaborate a little bit more.

    #486089

    memorex13
    Expired Member
    Post count: 540

    Hi Alex, hi Kor
    Let’s see if I explain better. I want to eliminate the words in the rectangle of the photo. When I apply the CSS, it eliminates all of them. With the css I want to delete only the words 1 2 and 3.
    Thanks

    #486094

    Kor
    Moderator
    Post count: 16516

    Hi there,

    Thanks for your reply. Try using the custom CSS code below and see if it helps.

    .geodir_post_meta:nth-child(1) .geodir_post_meta_title,.geodir_post_meta:nth-child(3) .geodir_post_meta_title  {display:none;}
    #486095

    memorex13
    Expired Member
    Post count: 540

    Thanks Kor but the provided css deletes all the words including the 4

    #486097

    Kor
    Moderator
    Post count: 16516

    Hi memorex13,

    Thanks for your reply. Could you remove the code that I provided earlier so that I could check this out again?

    #486102

    memorex13
    Expired Member
    Post count: 540

    Ok, removed

    #486155

    Kor
    Moderator
    Post count: 16516

    Hi there,

    This should be the correct custom CSS code.

    .geodir-output-location .geodir_post_meta:nth-child(1) .geodir_post_meta_title,
    .geodir-output-location .geodir_post_meta:nth-child(2) .geodir_post_meta_title,
    .geodir-output-location .geodir_post_meta:nth-child(3) .geodir_post_meta_title {display:none;}
    #486234

    memorex13
    Expired Member
    Post count: 540

    Thank you very much @Kor. It works great.

    Thanks

Viewing 11 posts - 1 through 11 (of 11 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket