Hi There,
I am trying to write some extra css classes for the row visual style and I followed this guide:
but I am having no luck getting the styles to work. this is the css I wrote. I tried using th filter as per guidelines to the custom css it is not working:
function mytheme_panels_row_styles($styles) {
$styles[‘short-pad’] = __(‘short pad’, ‘vantage’);
return $styles;
}
add_filter(‘siteorigin_panels_row_styles’, ‘mytheme_panels_row_styles’);
.panel-row-style-short-pad {
background: #F6F6F6;
border-top: 1px solid #DDDDDD;
border-bottom: 1px solid #DDDDDD;
margin: 0 -20px;
padding: 10px 20px;
}
.layout-full .panel-row-style-short-pad {
margin: 0 -1000px;
padding: 25px 1000px 25px 1000px;
Any help or advice you could offer would be greatly appreciated
thanks,
swerve
Hi Swerve
This section:
Needs to go after an opening PHP tag in a functions.php file in a child theme. Let me know how it goes.