This file contains hidden or 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
/* fix header height */ | |
#header { | |
height: 120px; | |
} | |
#header .margin { | |
position: relative; | |
} | |
#header-title a.header-logo, #header-title a.header-logo:visited { | |
position:absolute; | |
top:0; |
This file contains hidden or 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 | |
/** | |
* Custom template for displaying header content (logo and menu). | |
* | |
* @category PrimaShop | |
* @package Templates | |
* @author PrimaThemes | |
* @link http://www.primathemes.com | |
*/ |
This file contains hidden or 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 | |
define( 'THEMENAME', 'Kallyas' ); | |
require_once dirname( __FILE__ ) . '/framework/class-tgm-plugin-activation.php'; | |
add_action( 'tgmpa_register', 'kallyas_register_required_plugins' ); | |
function kallyas_register_required_plugins() { | |
/** |
This file contains hidden or 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 | |
/** | |
* Plugin installation and activation for WordPress themes. | |
* | |
* @package TGM-Plugin-Activation | |
* @version 2.3.6 | |
* @author Thomas Griffin <[email protected]> | |
* @author Gary Jones <[email protected]> | |
* @copyright Copyright (c) 2012, Thomas Griffin | |
* @license http://opensource.org/licenses/gpl-2.0.php GPL v2 or later |
This file contains hidden or 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 content using "featured image and excerpt" style. | |
* But we change it to be 3 columns grid. | |
* | |
* @category PrimaShop | |
* @package Templates | |
* @author PrimaThemes | |
* @link http://www.primathemes.com | |
*/ |
This file contains hidden or 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 Widgets */ | |
.woocommerce ul.cart_list li img, .woocommerce ul.product_list_widget li img, .woocommerce-page ul.cart_list li img, .woocommerce-page ul.product_list_widget li img { | |
width: 32px; | |
} |
This file contains hidden or 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
/* Show pagination on the top of shop page */ | |
add_action( 'woocommerce_before_shop_loop', 'woocommerce_pagination', 10 ); | |
/* Remove pagination on the bottom of shop page */ | |
remove_action( 'woocommerce_after_shop_loop', 'woocommerce_pagination', 10 ); |
This file contains hidden or 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_filter( 'woocommerce_subcategory_count_html', 'prima_hide_subcategory_count' ); | |
function prima_hide_subcategory_count() { | |
/* empty - no count */ | |
} |
This file contains hidden or 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 Price (Default) */ | |
.woocommerce ul.products li.product .price, .woocommerce-page ul.products li.product .price, .woocommerce div.product span.price, .woocommerce div.product p.price, .woocommerce #content div.product span.price, .woocommerce #content div.product p.price, .woocommerce-page div.product span.price, .woocommerce-page div.product p.price, .woocommerce-page #content div.product span.price, .woocommerce-page #content div.product p.price { | |
color: #333333; | |
font-size: 1em; | |
font-weight: normal; | |
} | |
/* WooCommerce Price (From Text) */ | |
.woocommerce ul.products li.product .price .from, .woocommerce-page ul.products li.product .price .from, .woocommerce div.product span.price .from, .woocommerce div.product p.price .from, .woocommerce #content div.product span.price .from, .woocommerce #content div.product p.price .from, .woocommerce-page div.product span.price .from, .woocommerce-page div.product p.price .from, .woocommerce-page #content div.product span.price .from, .woocommerce-page #con |
This file contains hidden or 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_action( 'after_setup_theme', 'primashop_load_childtheme_languages', 5 ); | |
function primashop_load_childtheme_languages() { | |
/* this theme supports localization */ | |
load_child_theme_textdomain( 'primathemes', THEME_DIR . '/languages' ); | |
} |