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
| @media (max-width:767px) { | |
| .owl-item>.product .product-loop-body .product-rating, | |
| .products>.product .product-loop-body .product-rating { | |
| margin-bottom: 5px; | |
| } | |
| .owl-item>.product .add-to-cart-wrap, | |
| .products>.product .add-to-cart-wrap { | |
| margin-top: 5px; | |
| } |
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
| {"version":"0.4","title":"contact page","type":"page","content":[{"id":"5da1c2d7","settings":{"stretch_section":"section-stretched","layout":"full_width"},"elements":[{"id":"75253aee","settings":{"_column_size":100,"_inline_size":null},"elements":[{"id":"6f2f0211","settings":{"address":"London Eye, London, United Kingdom"},"elements":[],"isInner":false,"widgetType":"google_maps","elType":"widget"}],"isInner":false,"elType":"column"}],"isInner":false,"elType":"section"},{"id":"6cc2d3d3","settings":{"structure":"20"},"elements":[{"id":"62eadcbd","settings":{"_column_size":50,"_inline_size":72.193},"elements":[{"id":"5aef8dd0","settings":{"editor":"<h2 class=\"contact-page-title\">Leave us a Message<\/h2>\nMaecenas dolor elit, semper a sem sed, pulvinar molestie lacus. Aliquam dignissim, elit non mattis ultrices,\nneque odio ultricies tellus, eu porttitor nisl ipsum eu massa."},"elements":[],"isInner":false,"widgetType":"text-editor","elType":"widget"},{"id":"2fb3a655","settings":{"shortcode":"[contact-form-7 id |
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
| {"version":"0.4","title":"FAQ page","type":"page","content":[{"id":"6039109","settings":[],"elements":[{"id":"30d2b886","settings":{"_column_size":100,"_inline_size":null},"elements":[{"id":"726592bf","settings":{"title":"Shipping Information","title_color":"#1A1616","_padding":{"unit":"px","top":"0","right":"0","bottom":"10","left":"0","isLinked":false},"_border_border":"solid","_border_width":{"unit":"px","top":"0","right":"0","bottom":"1","left":"0","isLinked":false},"_border_radius":{"unit":"px","top":"0","right":"0","bottom":"0","left":"0","isLinked":false}},"elements":[],"isInner":false,"widgetType":"heading","elType":"widget"}],"isInner":false,"elType":"column"}],"isInner":false,"elType":"section"},{"id":"7dac6605","settings":{"structure":"20"},"elements":[{"id":"10efa5f9","settings":{"_column_size":50,"_inline_size":null},"elements":[{"id":"652d3136","settings":{"editor":"<h3 class=\"faq-title\" style=\"text-align: left;\">What Shipping Methods Are Available?<\/h3>\n<div class=\"text-content\">\n\nLor |
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
| {"version":"0.4","title":"about-page","type":"page","content":[{"id":"2d06ab93","settings":{"structure":"30","css_classes":"about-features"},"elements":[{"id":"6ca96b12","settings":{"_column_size":33,"_inline_size":null},"elements":[{"id":"45cc0aea","settings":{"image":{"url":"http:\/\/localhost\/~abbas\/electro\/wp-content\/uploads\/2016\/03\/3column1.jpg","id":2531}},"elements":[],"isInner":false,"widgetType":"image","elType":"widget"},{"id":"2a0085ec","settings":{"editor":"<h2 class=\"align-top\">What we really do?<\/h2>\nDonec libero dolor, tincidunt id laoreet vitae,\nullamcorper eu tortor. Maecenas pellentesque,\ndui vitae iaculis mattis, tortor nisi faucibus magna,\nvitae ultrices lacus purus vitae metus."},"elements":[],"isInner":false,"widgetType":"text-editor","elType":"widget"}],"isInner":false,"elType":"column"},{"id":"600e10fb","settings":{"_column_size":33,"_inline_size":null},"elements":[{"id":"62d81d9b","settings":{"image":{"url":"http:\/\/localhost\/~abbas\/electro\/wp-content\/uploads\/2016\ |
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_sale_badge_text', 'custom_sale_percentage_badge', 10, 2 ); | |
| function custom_sale_percentage_badge( $sale_text, $product ) { | |
| if ( $product->is_type( 'simple' ) ) { | |
| $regular = (float) $product->get_regular_price(); | |
| $sale = (float) $product->get_sale_price(); | |
| if ( $regular > 0 && $sale > 0 ) { | |
| $percentage = round( ( ( $regular - $sale ) / $regular ) * 100 ); |
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 | |
| /** | |
| * WooCommerce Extensions Integrations | |
| * | |
| * @package electro | |
| */ | |
| if ( is_yith_wcwl_activated() ) { | |
| global $yith_wcwl; |
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
| @media (min-width: 1200px) { | |
| nav.primary-menu .wp-block-navigation__submenu-container.has-mega-menu { | |
| top: calc(100% + 0px); | |
| } | |
| } | |
| .wp-block-group.desktop-header { | |
| padding-bottom: 0 !important; | |
| } |
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
| .electro-mode-switcher { | |
| display: flex; | |
| } | |
| @media (max-width: 767px) { | |
| .electro-mode-switcher { | |
| height: 85px; | |
| } | |
| .electro-mode-switcher span { | |
| font-size: 10px; |
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
| function mytravel_tour_info() { | |
| if ( ! mytravel_is_acf_activated() ) { | |
| return; | |
| } | |
| $days = mytravel_get_field( 'days' ); | |
| $total_people = mytravel_get_field( 'max_people' ); | |
| $min_age = mytravel_get_field( 'min_age' ); | |
| $tour_schedule = mytravel_get_field( 'tour_period' ); | |
| $amenities = mytravel_get_field( 'snapshot' ); |
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
| function electro_loop_action_buttons() { | |
| ?><div class="action-buttons"><?php | |
| electro_template_loop_product_sku(); | |
| ?></div><?php | |
| } |
NewerOlder