View background does not apply in custom template
-
I have a slideshow view, I want to change a background color of testimonial slides from transparent to white, but the changes that I do in the View in wp admin do not apply to my custom theme. When I use any wp theme, e.g. storefront, the changes apply successfully.
In my custom theme template I call testimonials short code like this:
<?php echo do_shortcode('[testimonial_view id=1]'); ?>Everything works fine, except for that changes in the backround color do no apply.
I noticed that when I use storefrom theme, a style tag for testimonials plugin appears with the style for the background color:
<style id='wpmtst-custom-style-inline-css' type='text/css'> .strong-view-id-1 .testimonial-inner { background: #ff1616; } </style>However, this tag is absent when I use my custom theme.
The topic ‘View background does not apply in custom template’ is closed to new replies.