You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Widget stylesheet not show changes in preview

edited Jan 29, 2020 11:41AM in Commerce 4 comments

Summary

css style override background-color for widget div

Content

Hi All,

I created a new widget but stylesheet not show changes in preview.

The fond of the theme is white and I want the background of the widget's DIV to be gray.

He is not taking this change and I don't know if it is because of a blockage of the topic that this overwriting cannot be done.

 

Template:

<div class = "devmatias">

<div class = "test"> THIS IS A BUTTON TYPE TEST </div>

</div>

 

Style sheet:

# devmatias_v1-wi300370 {

.devmatias {

     .test{

         width: 300px;

         height: 30px;

         background-color: red;

         color: white;

         border-radius: 5px;

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!