Big Grid 1 Style 1 – Black background?

Posted in: Newspaper
Post count: 14

I’m using the following css to change my big grid style 1’s background to white (instead of the black):

.import_video_slider_bg {
background-color: white;
}

… but is there a better way? I see my page load the black background first, then it changes it to white. Is there a way I can go straight to white?

Post count: 14

to correct myself, i’m also using this:

.vc_row.wpb_row.td-pb-row.import_video_slider_bg.vc_row-has-fill.vc_row-o-full-height.vc_row-o-columns-stretch.vc_row-o-equal-height.vc_row-flex.vc_general.vc_parallax.vc_parallax-content-moving {
background-color: white;
}

Without both css changes, it will remain black.

Post count: 7909

Hi,

This is the property of css code, it is applied in cascade. First the default code and then it is applied the custom code.
A solution to avoid this delay will be to modify the default color directly in the stylesheet file. I suppose you use the video demo, so here you can make the change – http://screencast.com/t/HVtDs00c8
Another solution if you want to apply another background color can be, to remove the extra class from your row, so the default css is not applied anymore – http://screencast.com/t/f8HmkfXEAe and using the row settings add your own background color.

If you just want to remove the black background and leave it by default, just remove import_video_slider_bg extra class from the row.
Let us know how it goes and if you need further assistance, please provide also your site url.

Thanks!

Post count: 14

Alin,

Thank you for the prompt reply. Your support is beyond fantastic!

I just removed import_video_slider_bg to clean things up, and it’s back to the default: white/clear.

Last question:

I’m actually using Big Grid 2, and yes I’m using the video demo as a start. If I change the default color directly on the demo style sheet, will it get over written if Newspaper gets updated? I am using Newspaper through my child theme.

Post count: 22421

Hello,
It will get overwritten if you update and replace all the files in the main theme as a normal update does. If you use it in the child theme(i’m not sure the demo_style.css files work from the child theme as we have not tested this) then only if the demo css file gets changed will you have to re-apply your modification. (A child theme is not update proof as if the main file you transfer to it gets changed in an update and you still feed the old file through the child theme, it will create problems so you will have to replace it in the child theme as well)
I hope this helps.
Thanks.

Post count: 14

Thanks Bogdan! Explains lots.

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.