Making Live Spreads – Forex sort of responsive
-
If you want some responsiveness in this shortcode, add the following to your child stylesheet. (You are using a child theme stylesheet, and not a plugin, right?)
It will override the inline styling that the javascript generates, and allows the parent container’s 100% width to take effect instead of making the spread a 900px fixed width:
/* Live Spreads - Forex responsive styling */ #live_spreads { width: auto !important; }
The
!important
tag is, well, important. That’s what allows the override of the inline styling.This isn’t a support request. Just a tip. ??
- The topic ‘Making Live Spreads – Forex sort of responsive’ is closed to new replies.