Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Css Help Rate Topic   - - - - -

 

Posted 03 December 2018 - 05:39 PM #1

I would like to change the background color of the banner box to match the color of the banner. I have tried adding some css to a few different places with no luck. Can any one point me in the right direction? Attached is a screen shot of the area I am looking to change.

 

ridetech.com/dev is the url



 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11365 posts

Posted 03 December 2018 - 06:53 PM #2

No screen shot.  Generally, you would use a property like:

background=color: inherit;

to get the same background as the enclosing container.


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 

Posted 03 December 2018 - 07:00 PM #3

The image has a red background and I would like to make the background match

Attached Thumbnails

  • Capture.JPG


 

Posted 03 December 2018 - 07:03 PM #4

The color is #ae0202 that I am trying to get the background to be.



 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11365 posts

Posted 03 December 2018 - 07:04 PM #5

You might try setting the "user class" property in the block.  Then use that class to set the background.

 

.my_class {
  background-color: #your_color_code;
}

EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 

Posted 03 December 2018 - 07:33 PM #6

I was missing the styles.less step. 

 

Thanks for all the help!!