Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1067149
    _agus
    Participant

    Hey!

    I have 2 questions:

    1. My index post page has a side bar. I noticed that when I use the “Index Featured Post Layout” the featured post has a margin-right CSS property of -35px (.x-full-width-layout-active.x-content-sidebar-active a.entry-thumb.featured). I changed it to 0px, so the post would align properly with all the others. I would like to understand better the reason of this margin, to avoid any unintended consequences at the layout.

    2. I would like to set my recent posts’ page as my homepage. I also would like to add a revolution slider at the top (under the nav bar) when I feel like adding. When creating a page, we can easily choose to do that under the Slider Settings: Below Masthead. So I went to my wp-panel options and set up my blog to have a static page. I chose a random page to be my post’ page and didn´t selected any in the homepage field. Now every time I go to my website “www.xxxx.com”, it automatically falls back to my posts’s page, since I don´t have a homepage. Now I can easily add a revolution slider by editing this page. Problem is: Even though my website displays the post’s page, the browser cannot retrieve its tagline unless I go to the specifc address “www.xxxxx.com/a-random-page-set-as-posts-page/”. Is there easier way to achieve what I want and keep the tagline? Is there a option to add revolution slider in the posts’ page under the customizer options?

    #1067152
    Brussels O
    Participant

    Hey i want to add also a revolution slider just between the menu and my last posts. it’s possible?

    #1067797
    Rad
    Moderator

    Hi there,

    Thanks for writing in.

    Would you mind providing your site’s URL? I like to see what’s your current setup. What’s stack or similar demo URL?

    Thanks!

    #1069109
    _agus
    Participant

    I’m currently using ethos theme.

    Is it possible to suggest developers an option in customizer to add revolution slider under the navbar/menu? I mean, slider revolution can be easily added to any page with exception of the blog index page?

    How can users provide suggestions and feedbacks to the xtheme?

    Tks.

    #1069241
    Friech
    Moderator

    Hi There,

    Thanks for writing in! Regretfully, I am not entirely certain of the issue. But X|Theme provide the Slider Settings: Below Masthead option (slider below the menu) for all the pages. Including the page that you set as the blog posts page.


    screenshot

    If this is not what you’re looking for, please clarify your issue.

    Cheers!

    #1069271
    _agus
    Participant

    Yes, exactly! Sorry about the big text.

    I’ll try to explain this issue step by step.

    1.—–
    [Settings]
    Homepage: Page1 – My Landing Page
    Postpage: Page2 – My Index Post Page

    2.—–
    Then I edit “page2” as you just posted it. Great! Revolution slider under the navbar AND the posts under.

    3.—–
    Now I wish that the first page visitors see is not “page1”, but “page2”. My index post page (with all the posts + Rev Slider). So I didn’t selected a page as my homepage at the settings.

    [Settings]
    Homepage: Select – My Landing Page
    Postpage: Page2 – My Index Post Page

    4.—–
    Go at the browser and type the address: “www.xxx.com”. Then the page displayed is actually the “www.xxx.com/page2”. Since no homepage was selected.

    5.—–
    Problem: The browser retrieves the Blog’s title I wrote at the settings, but not the tagline.

    I won’t set my recent posts as my homepage because I won’t be able to add revolution slider by editing the page. The posts won’t be sitting on a page created within the wp dashboard. I will have to code manually the revslider at the recent post page every time I want to put it in or take it out.

    Customizer has an option to add the slider Xtheme provide, but it sucks because I’m restrained to the layout and content (commented, random and feature posts). Also, when I set this slider to show 1 post only, with a featured post of my choice, it doesn’t even take navigation arrows out from the sides.

    #1069312
    Rad
    Moderator

    Hi there,

    Slider settings are based on post ID, home page as blog page has no ID. What you could do is this,

    1. Under your setting, please choose Your latest posts instead of static pages.

    2. Copy these files to your child theme,

    \wp-content\themes\x\framework\views\global\_slider-above.php
    \wp-content\themes\x\framework\views\global\_slider-below.php

    Eg.

    \wp-content\themes\x-child\framework\views\global\_slider-above.php
    \wp-content\themes\x-child\framework\views\global\_slider-below.php

    3. Edit those files and change this line,

    $id = x_get_the_ID();

    to this,

    $id = is_home() && is_front_page() ? 826 : x_get_the_ID();

    Then just change the 826 with the ID of your target Page you wish to copy the slider settings.

    Hope this helps.

    #1070559
    _agus
    Participant

    Great idea!

    Works perfectly! It makes super easy to add in or take out the revolution sliders from the blog index page while keeping it as the frontpage.

    Tks Rad!

    About the “.x-full-width-layout-active.x-content-sidebar-active a.entry-thumb.featured{margin-right:-35px}”, why the margin?

    #1070906
    Lely
    Moderator

    Hi There,

    We do have this padding:

    .x-main.left {
        padding-right: 35px;
    }

    That padding will create a space on the right side of the content text so it will not touch the edges. Then for the featured image we want it to touch the edges to make it fullwidth unlike the content. That CSS will negate those padding for the feature image.

    Hope this helps.

  • <script> jQuery(function($){ $("#no-reply-1067149 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>