Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Michael

    (@wallpaperman)

    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.

    Michael

    (@wallpaperman)

    For 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).

    • This reply was modified 6 years, 7 months ago by Michael.
    • This reply was modified 6 years, 7 months ago by Michael.
    Michael

    (@wallpaperman)

    Hi, did you try this?

    .main-inner {border: none;}

Viewing 3 replies - 1 through 3 (of 3 total)