• Resolved sacconi

    (@sacconi)


    I’m trying with:

    .my-icons body.single-post {display:none
    	}

    It should make disappear the first line of icons just above the big image, and work ONLY for the post pages, not on archive pages

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • css not working

    That’s because your selector is wrong. The icons are inside the body, not the other way round. So the correct selector would be body.single-post .my-icons and the correct CSS should be.

    body.single-post .my-icons {
       display: none;
    }

    But even the corrected code above will NOT work on the URL you provided because it’s NOT a SINGLE POST page.

    But it will work and hide the icons on SINGLE POST pages.

    It should make disappear the first line of icons just above the big image, and work ONLY for the post pages, not on archive pages

    You say you want this to work “ONLY for the post pages, not on archive pages”. Yet you provided the URL of an archive page.

    This is the second time that you’ve asked for one thing… but provided the URL for a different thing.

    So what do you really want?

    Do you want to hide the icons on SINGLE POST pages (this is where you see ONLY the full post, and not a list of different posts)?

    Or do you want to hide the icons on ARCHIVE pages (this is where you see summaries of several posts, like the URL you provided)?

    Standing by.

    Thread Starter sacconi

    (@sacconi)

    this is page I need assistance for: https://test.sacconicase.com/appartamento-4-persone-lignano-sabbiadoro-150-m-mare/

    icons right under the image

    Thread Starter sacconi

    (@sacconi)

    Ok, now it works, thank you

    Thanks for the clarification.

    And, yes, this is a SINGLE POST.

    Glad you go it working.

    Good luck!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘css not working’ is closed to new replies.