styled map ordered location, clean up files
This commit is contained in:
parent
4886490ef9
commit
5ab5baa8f5
|
@ -332,6 +332,9 @@ Add your custom styles in this file so it is easier to update the theme.
|
||||||
|
|
||||||
/* Gutten slider styles for xarxaprod */
|
/* Gutten slider styles for xarxaprod */
|
||||||
|
|
||||||
|
/* Leaflet
|
||||||
|
--------------------------------------------- */
|
||||||
|
|
||||||
/*--------------------------------------------------------------
|
/*--------------------------------------------------------------
|
||||||
# Utilities
|
# Utilities
|
||||||
--------------------------------------------------------------*/
|
--------------------------------------------------------------*/
|
||||||
|
@ -2660,6 +2663,16 @@ Add your custom styles in this file so it is easier to update the theme.
|
||||||
margin-right: -50vw;
|
margin-right: -50vw;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.edit-post-visual-editor__content-area .editor-styles-wrapper .leaflet-container a {
|
||||||
|
color: #000 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.edit-post-visual-editor__content-area .editor-styles-wrapper .leaflet-attribution-flag {
|
||||||
|
height: 0 !important;
|
||||||
|
width: 0 !important;
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .screen-reader-text {
|
.edit-post-visual-editor__content-area .editor-styles-wrapper .screen-reader-text {
|
||||||
border: 0;
|
border: 0;
|
||||||
clip: rect(1px, 1px, 1px, 1px);
|
clip: rect(1px, 1px, 1px, 1px);
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -43,12 +43,10 @@ get_header();
|
||||||
<?php } //end if is_plugin_active ?>
|
<?php } //end if is_plugin_active ?>
|
||||||
</aside>
|
</aside>
|
||||||
|
|
||||||
|
<?php
|
||||||
<?php
|
|
||||||
// https://support.advancedcustomfields.com/forums/topic/wp_query-using-meta_query-for-an-acf-checkbox-field/#post-145830
|
// https://support.advancedcustomfields.com/forums/topic/wp_query-using-meta_query-for-an-acf-checkbox-field/#post-145830
|
||||||
// https://www.advancedcustomfields.com/resources/checkbox/#query-posts
|
// https://www.advancedcustomfields.com/resources/checkbox/#query-posts
|
||||||
// https://barn2.com/blog/querying-posts-by-custom-field-acfi/
|
// https://barn2.com/blog/querying-posts-by-custom-field-acfi/
|
||||||
|
|
||||||
$the_query_convo = new WP_Query(
|
$the_query_convo = new WP_Query(
|
||||||
array(
|
array(
|
||||||
'post_type' => 'xarxaprod-convo',
|
'post_type' => 'xarxaprod-convo',
|
||||||
|
@ -68,8 +66,7 @@ get_header();
|
||||||
<?php endif; //end query convo ?>
|
<?php endif; //end query convo ?>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
</main><!-- #main -->
|
||||||
</main><!-- #main -->
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
get_footer();
|
get_footer();
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
.leaflet-container a {
|
||||||
|
color: $color__link !important;
|
||||||
|
|
||||||
|
}
|
||||||
|
.leaflet-attribution-flag {
|
||||||
|
height: 0px !important;
|
||||||
|
width: 0px !important;
|
||||||
|
display: none !important;
|
||||||
|
}
|
|
@ -103,6 +103,10 @@ Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
|
||||||
--------------------------------------------- */
|
--------------------------------------------- */
|
||||||
@import "plugins/guttenslider/guttenslider";
|
@import "plugins/guttenslider/guttenslider";
|
||||||
|
|
||||||
|
/* Leaflet
|
||||||
|
--------------------------------------------- */
|
||||||
|
@import "plugins/leaflet/leaflet";
|
||||||
|
|
||||||
|
|
||||||
/*--------------------------------------------------------------
|
/*--------------------------------------------------------------
|
||||||
# Utilities
|
# Utilities
|
||||||
|
|
12
style.css
12
style.css
|
@ -2544,6 +2544,18 @@ textarea {
|
||||||
margin-right: -50vw;
|
margin-right: -50vw;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Leaflet
|
||||||
|
--------------------------------------------- */
|
||||||
|
.leaflet-container a {
|
||||||
|
color: #000 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.leaflet-attribution-flag {
|
||||||
|
height: 0 !important;
|
||||||
|
width: 0 !important;
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
/*--------------------------------------------------------------
|
/*--------------------------------------------------------------
|
||||||
# Utilities
|
# Utilities
|
||||||
--------------------------------------------------------------*/
|
--------------------------------------------------------------*/
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -94,17 +94,16 @@
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="xarxaprod-associat-location">
|
<section class="xarxaprod-associat-location">
|
||||||
<?php if( get_field('xxp_associat_osm_link') ): ?>
|
|
||||||
<div class="xarxaprod-associat-osm-link">
|
|
||||||
<h6 class="">Localizatcio:</h6><p> <a href="<?php the_field('xxp_associat_osm_link'); ?>"><?php the_field('xxp_associat_osm_link'); ?></a></p>
|
|
||||||
</div>
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<?php if( get_field('xxp_associat_osm_map') ): ?>
|
<?php if( get_field('xxp_associat_osm_map') ): ?>
|
||||||
<div class="xarxaprod-associat-osm-map">
|
<div class="xarxaprod-associat-osm-map">
|
||||||
<h6 class="">Mapa:</h6>
|
<h6 class="">Mapa:</h6>
|
||||||
<figure><?php the_field('xxp_associat_osm_map'); ?></figure>
|
<figure><?php the_field('xxp_associat_osm_map'); ?></figure>
|
||||||
</div>
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php if( get_field('xxp_associat_osm_link') ): ?>
|
||||||
|
<div class="xarxaprod-associat-osm-link">
|
||||||
|
<h6 class="">Localizatcio:</h6><p> <a href="<?php the_field('xxp_associat_osm_link'); ?>"><?php the_field('xxp_associat_osm_link'); ?></a></p>
|
||||||
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue