Quantcast
Channel: Toolset » All Posts
Viewing all articles
Browse latest Browse all 20145

Reply To: [Assigned] Featured News Slider

$
0
0

Dear Carla,

please adjust the Layout View to the following:

[wpv-layout-start]
    [wpv-items-found]
    <!-- wpv-loop-start -->
   <div class="row row-fluid">
   <wpv-loop>
            [wpv-post-body view_template="Featured News Slider - single post"]
    </wpv-loop>
    </div>
    <!-- wpv-loop-end -->
    [/wpv-items-found]
    [wpv-no-items-found]
        [wpml-string context="wpv-views"]<strong>No items found</strong>[/wpml-string]
    [/wpv-no-items-found]
[wpv-layout-end]

and the Content Template to:

<div class="span3">
    [wpv-if evaluate="'[types field='featured-label'][/types]' != ''"]
    <div class="thumbnail">
        <a href="[wpv-post-url]">[wpv-post-featured-image][types field="main-image" width="300" height="220" title="[wpv-post-title]" alt="[wpv-post-title]" align="none"][/types]</a>
    </div>
    [/wpv-if]
</div>

and add the following CSS to the custom CSS so that the four columns division is applied using span3 class

.row-fluid .span3 {
width: 23.076923076923077%;
}

as for the pagination please enclose the pagination shortcodes with the wpv-filter

[wpv-filter-start hide="false"]
[wpv-pagination]
//your custom pagination
[/wpv-pagination]
[wpv-filter-end]

Please let me know if you are satisfied with my answer and if I can help you with any other questions you might have.

Regards,
Ana


Viewing all articles
Browse latest Browse all 20145

Trending Articles