Genesis 2.0 Custom background

Community Forums Forums General Discussion Genesis 2.0 Custom background

This topic is: not resolved

This topic contains 3 replies, has 3 voices, and was last updated by  MarketLeaner 1 year, 2 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #57471

    rschel
    Participant
    Post count: 23

    I want to add a shadow around the custom background image. prior to 2.0 I would just access the #wrap in css. I tried adding a selector to the add custom background in the functions.php, but I am not getting it.

    What would be the most efficient way to do this.

    http://www.nwwebproductions.com/URRKN-test/

    #57558

    bandj
    Participant
    Post count: 188

    Add the shadow to the actual image would be one way.


    #57635

    rschel
    Participant
    Post count: 23

    Yes, I thought of that but I want to target it with css and having a time trying to do that. thought something like

    body.custom-background img {
    box-shadow: 3px 3px 3px #7C7C7C;
    }

    would work, but I am not getting it….Help?….thoughts?

    Thank you!

    #61315

    MarketLeaner
    Participant
    Post count: 27

    just some ideas, one of the three of these selectors

    .custom-background body, .header-image, custom-background .wrap {
    box-shadow: 3px 3px 3px #7C7C7C;
    }

    if you’re calling it by the wrong ID.

    You could also try using the moz, ms, and webkit stuff and try to find how they handle it with boxing.

    also if its a problem with elements not image ID you could try:

    image ID {
          width: 100px;
          height: 100px;
          margin: 20px;
          background-color: transparent;
          box-shadow: 3px 3px 3px #000;
        }
Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.