Support » Themes and Templates » Try to create a new div that will appear on top of everything else

Viewing 3 replies - 1 through 3 (of 3 total)
  • If a child element is to override the parent’s constraints, the !important CSS declaration must be added. An example is provided below.

    #something{
        color: #FFF!important;
    }

    Now, if the position is absolute, you can use the top parameter to move it down a little bit. I would suggest to use percentages rather than pixels.

    By the way, I hope you are working with a child theme. 🙂

    Thanks for the quick response. I am working with a child theme, I’m still kind of getting the hang of it though.

    I didn’t know that about the elements needing to be “!important” thanks for the tip!

    IT WORKED! THANK YOU!

    That’s great you are working with a child theme. I am glad it worked! Best luck to you with your website!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Try to create a new div that will appear on top of everything else’ is closed to new replies.