This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter("the_content", "the_content_filter"); | |
function the_content_filter($content) { | |
// array of custom shortcodes requiring the fix | |
$block = join("|",array("col","shortcode2","shortcode3")); | |
// opening tag |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Add custom background color for featured header in the homepage only */ | |
body.home #header-featured { | |
background: #F00; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Change the width of header title and menu. */ | |
/* #header-title (25%) + #header-menu (75%) = 100% */ | |
#header-title { | |
width: 25%; | |
} | |
#header-menu { | |
width: 75%; | |
} | |
/* Default logo image (left aligned). */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#header-title { | |
width: 35%; | |
} | |
#header-menu { | |
width: 65%; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { | |
text-align:center; | |
} | |
.woocommerce .products .star-rating, .woocommerce-page .products .star-rating { | |
float:none; | |
display:block; | |
margin-left:auto; | |
margin-right:auto; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a:focus, a:active { outline: none; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body.stylelayout-boxed #container { | |
padding-top: 0; | |
padding-bottom: 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* header menu - top level */ | |
#header-menu .menu-primary a, #header-menu .menu-primary a:visited { | |
font-size: 14px; | |
font-weight: bold; | |
} | |
/* header menu - dropdown */ | |
#header-menu .menu-primary li li a, #header-menu .menu-primary li li a:visited { | |
font-size: 12px; | |
font-weight: normal; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
prima_image( array ( | |
'width' => 700, | |
'height' => 275, | |
'attachment' => false, | |
'image_class' => 'image-featured', | |
'link_to_post' => true | |
) ); | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* The template for displaying header call to action. | |
* | |
* WARNING: This file is part of the PrimaShop parent theme. | |
* Please do all modifications in the form of a child theme. | |
* | |
* @category PrimaShop | |
* @package Templates | |
* @author PrimaThemes |
OlderNewer