Commit 271ec685 authored by agnez's avatar agnez

gasap map dynamic grid

parent a1b8e3e4
......@@ -211,6 +211,15 @@ main .uk-container{
padding:3em 0 2em;
}
}
#snippet_la_carte{
.uk-panel-box {
background: #fafafa none repeat scroll 0 0;
border: 1px solid #e5e5e5;
border-radius: 4px;
color: #666;
padding: 15px;
}
}
#gasap-footer{
background-color: @global-muted-color;
......
......@@ -38,7 +38,11 @@
'post_type' => 'gasap',
'order_by' => 'title'
)); ?>
<div class="uk-grid"><?php
<div>
Search GASAP<br />
Filters
</div>
<div data-uk-grid><?php
if($gasap->have_posts()){
while ( $gasap->have_posts() ) : $gasap->the_post();
global $post; ?>
......
......@@ -18,7 +18,7 @@ function gasap_enqueue_uikit_assets() {
//beans_uikit_enqueue_theme( 'beans_gasap', get_stylesheet_directory_uri() . '/assets/less/uikit' );
// Add the theme style as a uikit fragment to have access to all the variables
beans_uikit_enqueue_components( array( 'switcher', 'modal', 'tab' ) );
beans_uikit_enqueue_components( array( 'slider', 'slideshow' ), 'add-ons' );
beans_uikit_enqueue_components( array( 'slider', 'slideshow', 'grid' ), 'add-ons' );
beans_compiler_add_fragment( 'uikit', get_stylesheet_directory_uri() . '/assets/less/style.less', 'less' );
beans_compiler_add_fragment( 'uikit', get_stylesheet_directory_uri() . '/assets/less/gasap.less', 'less' );
// Remove unnecessary components.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment