Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #282313

    Zeshan
    Member

    Hi there,

    It is possible, but moving the slider in the main content will require additional CSS and template modification as the default main content styling overwrites the styling of post slider (see: http://prntscr.com/79p3f8).

    We can help you moving the slider in the main content area but the further customization would be outside the scope of our support. So, to achieve that, copy the file wp-content/themes/x/framework/views/ethos/wp-index.php in your child theme’s folder /framework/views/ethos/, open the copied file in a text editor and cut (copy and delete) for the following line of code (probably line #17):

    <?php x_get_view( 'ethos', '_post', 'slider' ); ?>
    

    and paste right beneath the following line (probably line #20):

    <div class="<?php x_main_content_class(); ?>" role="main">
    

    After that, add following CSS code under Custom > CSS in the Customizer:

    .x-post-slider .x-post-slider-entry {
       padding-bottom: 425px !important;
    }
    

    As mentioned, further customization from here would be outside the scope of our support. If you need more in depth changes, you may wish to consult with a developer. X is quite extensible with child themes, so there are plenty of possibilities.

    Thanks for understanding.

    #284408

    Mbzo
    Participant

    Thanks guys, great work!

    #284877

    Nabeel A
    Moderator

    You’re most welcome 🙂

    Glad we could help!