Adds lightbox css and js to outside of vendor folder and updates links css to solve #24.
This commit is contained in:
parent
0182b5d7ab
commit
910418d7c0
|
@ -4,6 +4,5 @@ build-config.cfg
|
|||
/src/assets/style.css.map
|
||||
/src/assets/scss/.sass-cache
|
||||
/src/assets/vendor/
|
||||
!/src/assets/vendor/ekko-lightbox/
|
||||
/src/style.css
|
||||
/src/vendor/
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -46,6 +46,7 @@
|
|||
}
|
||||
& > a,
|
||||
& > p {
|
||||
z-index: 99;
|
||||
padding: 1rem 4.33337vw;
|
||||
background: white;
|
||||
border-radius: 3px;
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
Subproject commit a12102c8913e1b28da086d4072cfdcaa2ce2c92d
|
|
@ -33,9 +33,9 @@ if ( ! function_exists( 'tainacan_enqueues' ) ) {
|
|||
/**
|
||||
* Ekko Lightbox
|
||||
*/
|
||||
wp_register_style( 'EkkoLightboxCss', get_template_directory_uri() . '/assets/vendor/ekko-lightbox/dist/ekko-lightbox.css');
|
||||
wp_register_style( 'EkkoLightboxCss', get_template_directory_uri() . '/assets/css/ekko-lightbox.css');
|
||||
wp_enqueue_style( 'EkkoLightboxCss' );
|
||||
wp_register_script( 'EkkoLightboxJs', get_template_directory_uri() . '/assets/vendor/ekko-lightbox/dist/ekko-lightbox.min.js', array('jquery'), null, true);
|
||||
wp_register_script( 'EkkoLightboxJs', get_template_directory_uri() . '/assets/js/ekko-lightbox.min.js', array('jquery'), null, true);
|
||||
wp_enqueue_script( 'EkkoLightboxJs' );
|
||||
|
||||
/**
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue