Michael
Forum Replies Created
-
Forum: Plugins
In reply to: [WordPress Popular Posts] How to query WPP with Elementor?Hello and first of all thanks to @hcabrera for this plugin and the great support and to all the people her for finding a solution. I use this solution as @robhills1985 explained it and it works fine for the one query, but I want to use different queries for different elementor pages.
What do I have to do, to realize that. I added the following code with a second query called “popular_weekly” but this didn′t work.
add_action('wpp_post_update_views', 'custom_wpp_update_postviews'); add_action('elementor/query/popular_posts', function($query) { $query->set('orderby', 'meta_value_num'); $query->set('meta_key', 'views_daily'); add_action('elementor/query/popular_weekly', function($query) { $query->set('orderby', 'meta_value_num'); $query->set('meta_key', 'views_weekly'); });
Thanks for any help in advance.
Forum: Themes and Templates
In reply to: [Hueman] sidebar transparencyFor me, this worked to make the sidebars and the main content white:
.sidebar .sidebar-content, .sidebar .sidebar-toggle { background: #fff; } .col-2cl .main-inner.group { background: transparent; }
To have a border between main content and sidebar I changed this:
.content {max-width: 1037px; border-right: 1px solid #ddd;}
I′m using the theme with 2 columns, right sidebar and a width of 1380px. The max width of the content class is the total width of the content (1038px) less the width of the border (1px).
Forum: Themes and Templates
In reply to: [Hueman] How to remove borderHi, did you try this?
.main-inner {border: none;}