Revised home collection

This commit is contained in:
Fabiano 2018-07-20 11:46:17 -03:00
parent 8b01a243f6
commit 9072cce6ca
2 changed files with 6 additions and 5 deletions

View File

@ -15,8 +15,8 @@
<?php _e('Sorting', 'tainacan-theme'); ?> <?php _e('Sorting', 'tainacan-theme'); ?>
</button> </button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuSorting"> <div class="dropdown-menu" aria-labelledby="dropdownMenuSorting">
<a class="dropdown-item <?php tainacan_active(get_query_var('orderby'), 'date'); ?>" href="<?php echo add_query_arg('orderby', 'date'); ?>"><?php _e('Creation date', 'tainacan-theme'); ?></a> <a class="dropdown-item text-black <?php tainacan_active(get_query_var('orderby'), 'date'); ?>" href="<?php echo add_query_arg('orderby', 'date'); ?>"><?php _e('Creation date', 'tainacan-theme'); ?></a>
<a class="dropdown-item <?php tainacan_active(get_query_var('orderby'), 'title'); ?>" href="<?php echo add_query_arg('orderby', 'title'); ?>"><?php _e('Title', 'tainacan-theme'); ?></a> <a class="dropdown-item text-black <?php tainacan_active(get_query_var('orderby'), 'title'); ?>" href="<?php echo add_query_arg('orderby', 'title'); ?>"><?php _e('Title', 'tainacan-theme'); ?></a>
</div> </div>
</div> </div>
@ -33,9 +33,9 @@
<span class="d-none d-md-inline"><?php _e('View Mode', 'tainacan-theme'); ?></span> <span class="d-none d-md-inline"><?php _e('View Mode', 'tainacan-theme'); ?></span>
</button> </button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuViewMode"> <div class="dropdown-menu" aria-labelledby="dropdownMenuViewMode">
<a class="dropdown-item <?php tainacan_active(get_query_var('tainacan_collections_viewmode'), 'cards'); ?>" href="<?php echo add_query_arg('tainacan_collections_viewmode', 'cards'); ?>"><?php _e('Cards', 'tainacan-theme'); ?></a> <a class="dropdown-item text-black <?php tainacan_active(get_query_var('tainacan_collections_viewmode'), 'cards'); ?>" href="<?php echo add_query_arg('tainacan_collections_viewmode', 'cards'); ?>"><?php _e('Cards', 'tainacan-theme'); ?></a>
<a class="dropdown-item <?php tainacan_active(get_query_var('tainacan_collections_viewmode'), 'grid'); ?>" href="<?php echo add_query_arg('tainacan_collections_viewmode', 'grid'); ?>"><?php _e('Thumbnails', 'tainacan-theme'); ?></a> <a class="dropdown-item text-black <?php tainacan_active(get_query_var('tainacan_collections_viewmode'), 'grid'); ?>" href="<?php echo add_query_arg('tainacan_collections_viewmode', 'grid'); ?>"><?php _e('Thumbnails', 'tainacan-theme'); ?></a>
<a class="dropdown-item <?php tainacan_active(get_query_var('tainacan_collections_viewmode'), 'table'); ?>" href="<?php echo add_query_arg('tainacan_collections_viewmode', 'table'); ?>"><?php _e('Table', 'tainacan-theme'); ?></a> <a class="dropdown-item text-black <?php tainacan_active(get_query_var('tainacan_collections_viewmode'), 'table'); ?>" href="<?php echo add_query_arg('tainacan_collections_viewmode', 'table'); ?>"><?php _e('Table', 'tainacan-theme'); ?></a>
</div> </div>
</div> </div>

View File

@ -23,6 +23,7 @@
} }
} }
.dropdown-menu { .dropdown-menu {
font-size: 14px;
a { a {
&:hover{ &:hover{
background-color: #c1dae0; background-color: #c1dae0;