Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #356655

    Hi
    I’m trying to create a custom text box with a specific colour and border
    I’ve put this in quick css
    .new_box {background-color:#ff6600);padding: 20px; border-style:solid;border-color: #ffffff;border-width: 10px;
    }
    Where new_box is the custom id
    However I end up with a grey background and lighter grey boarder
    What am I doing wrong?
    Cheers – raphe

    #356668

    Hi Raphep!

    Thank you for using our theme. It is a good idea to add !mportant to your custom CSS to make sure, that your styling is not overwritten.

    
    .new_box {
        background-color: #ff6600 !important;
        border-color: #ffffff !important;
        border-style: solid !important;
        border-width: 10px !important;
        padding: 20px !important;
    }
    

    Regards,
    Günter

    #357437

    Brilliant. Thanks v much.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Create text box with custom background colour and border’ is closed to new replies.