Skip to:
Content
Pages
Categories
Search
Top
Bottom

CSS Question: Target a specific div in a div in a div.. possible?

  • Avatar of Bowe
    Bowe
    Participant

    @bowromir

    How’s that for an confusing topic title?! But it’s exactly what I want to do..

    can I somehow target the following element:

    I tried all kinds of things from complicated to really easy, but I can not seem to target that specific element.. I want to style a certain activity type to make it stand out a little bit more :-)

    Thanks in advance

Viewing 3 replies - 1 through 3 (of 3 total)
  • Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    `div.activity-inner { }`
    and in specific page
    `body.specific-page div.activity-inner { }`

    Avatar of Roger Coathup
    Roger Coathup
    Participant

    @rogercoathup

    If you just want to style it for new blog posts:

    `
    li.new_blog_post div.activity-inner {
    }
    `

    Avatar of Bowe
    Bowe
    Participant

    @bowromir

    @rogercoathup and @mercime : thanks guys.. I know now the correct ways of targeting divs inside divs.. learned something new instead of just trying random things.. cheers :D

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.