Support ForumAdding some css rules on a particular row for all sizes – Support Forum https://support.ishyoboy.com/forums/topic/adding-some-css-rules-on-a-particular-row-for-all-sizes/feed Fri, 03 Jan 2025 04:19:55 +0200 http://bbpress.org/?v=2.5.12-6148 en-US https://support.ishyoboy.com/forums/topic/adding-some-css-rules-on-a-particular-row-for-all-sizes/#post-8592 <![CDATA[Adding some css rules on a particular row for all sizes]]> https://support.ishyoboy.com/forums/topic/adding-some-css-rules-on-a-particular-row-for-all-sizes/#post-8592 Thu, 04 Jun 2015 13:47:22 +0000 marcosandras Hi,

For our design I need to add these rules when full width:
.idea > .ish-vc_row_inner{padding-top: 0 !important; padding-left: 32px !important; margin-left: 28px !important; margin-top: 0 !important;}

And this when breaking point starts:
.idea > .ish-vc_row_inner{padding-top: 0 !important; padding-left: 0px !important; margin-left: 25px !important; margin-top: 0 !important;}

At the moment the only place it works is the:
wp-content/uploads/no8_css/main_options_2.css
at line 4473 and 4572
But this gets overwritten every time we change Theme Options.

Where and how should I apply these so that it will stay? I’ve tried in child theme css, but it didn’t work when breaking point is applied (< 1152px), neither when I tried media query.
Thanks!

]]>
https://support.ishyoboy.com/forums/topic/adding-some-css-rules-on-a-particular-row-for-all-sizes/#post-8606 <![CDATA[Reply To: Adding some css rules on a particular row for all sizes]]> https://support.ishyoboy.com/forums/topic/adding-some-css-rules-on-a-particular-row-for-all-sizes/#post-8606 Fri, 05 Jun 2015 06:59:06 +0000 IshYoBoy Hey,

The best way is in a child theme. Use the one we provide along with the theme and put the code into “child-theme.css” the code should work 100% percent there. If not then Inspect the element to see what CSS from which selector is used instead and if the selector is not stronger than the one you are using.

The media query is definitely the way to go if you want to target some breaking points.

Another option is to add it to the “Theme Options -> Custom CSS”

Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>