Child-Theme - Page with slider - Acme Themes

Best Premium and Free WordPress Themes Forums Mercantile Child-Theme – Page with slider

Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #11974
    marcoluca1988
    Participant

    Hi, I’m Marco. My site in in local. I would like to know how we create a new template page with a slider on the right. In your theme is possible to insert slider in all site but it’s good if we have a template page to choise. Thanks a lot.

    Marco

    #11975
    acmesupports
    Moderator

    Hello Marco,
    Thank you so much for using our theme Mercantile. If you want to make a new page with slider on the the right, please try once by Page Builder Plugin. Or you can create a separate page template but you need to familiar with the codes to create a template. Please have a look in the codex for more details.
    If you have any query, feel free to ask.

    Regards
    Acme Supports

    #12278
    marcoluca1988
    Participant

    Thank you for the reply. I’m able to create a new template with right slider. Slider is created with another name because i want to use special widget for different page. My problem, now, is that slider don’t play like yours. I hava activate it with:

    <?php

    if ( function_exists(‘register_sidebar’) )
    register_sidebar( array(
    ‘name’ => ‘Staff Page Sidebar’,
    ‘id’ => ‘staff-page-sidebar’,
    ‘before_widget’ => ‘<aside id=”%1$s” class=”widget %2$s”>’,
    ‘after_widget’ => ‘</aside>’,
    ‘before_title’ => ‘<h2 class=”widget-title”>’,
    ‘after_title’ => ‘</h2>’,
    ));

    add_action( ‘widgets_init’, ‘mercantile_widgets_init’ );

    Than i define in css:

    #staff-page-sidebar { position:relative; margin-left:70%; padding-left:15px; font-size: 9pt; color:#bbb;}
    #staff-page-sidebar h3, #staff-page-sidebar h2, {color:#fff; font-size: 12pt;}

    but my sidebar don’t go like yours. (Example: It is not configurated in correct size and there isn’t border or image are too large (using your AT post widget). Search widget or calendar go perfectly. Then i see that in tablet mode or cellular mode they don’t go down under articles. How i can fix it?

    Thanks

    #12295
    acmesupports
    Moderator

    Hello marcoluca1988,
    It’s really complex to share anything related to this issues. You are working on local server and how we can guide you. Better to use google for the help.
    If you move your site on live server, we can check the issues and help you on that.

    Thank you

    #12343
    marcoluca1988
    Participant

    Thank you. I hope that i will pubblish it as soon as possible. To do it i must resolve some problems like that. If it’s possibile to do off line, i would like to know how we can add a full width page (if in customizer there is a general sidebar). I use a child theme and it’s working. But, for example, at feature page widget, in cellular mode display text like this:

    L
    o
    r
    em
    Ep
    s
    sum

    and not:

    Lerem
    Ipsum

    i just create a new template with:
    _______________________________________________________________
    <?php
    /*
    Template Name: No Sidebar Template
    */

    get_header();
    global $mercantile_customizer_all_values;
    $mercantile_enable_feature = $mercantile_customizer_all_values[‘mercantile-enable-feature’];
    if(
    ( is_front_page() && 1 != $mercantile_enable_feature )
    || !is_front_page()
    ){
    ?>
    <div class=”wrapper inner-main-title”>
    <div class=”container”>
    <div class=”row”>
    <header class=”entry-header col-md-6 init-animate fadeInDown1″>
    <?php the_title( ‘<h1 class=”entry-title”>’, ‘</h1>’ ); ?>
    </header><!– .entry-header –>
    <?php
    if( 1 == $mercantile_customizer_all_values[‘mercantile-show-breadcrumb’] ){
    mercantile_breadcrumbs();
    }
    ?>
    </div>

    </div>
    </div>
    <?php
    }
    ?>
    <div id=”content” class=”site-content container clearfix”>
    <div id=”page-nosidebar” class=”content-area”>
    <main id=”main” class=”site-main” role=”main”>
    <?php
    while ( have_posts() ) : the_post();

    get_template_part( ‘template-parts/content’, ‘page’ );

    // If comments are open or we have at least one comment, load up the comment template.
    if ( comments_open() || get_comments_number() ) :
    comments_template();
    endif;

    endwhile; // End of the loop.
    ?>
    </main><!– #main –>

    </div><!– #primary –>

    </div><!– #content –>
    <?php get_footer();

    CSS:

    /*** NO-SIDEBAR ***/
    @media screen and (min-width: 56.875em) {
    .page-nosidebar .content-area
    {
    float: left;
    margin-right: -100%;
    width: 100%;
    }
    }

    Are there error?

    thanks for the support.

    #12347
    acmesupports
    Moderator

    We think that you missed the div structure of HTML. So, if you are not familiar with codes, better to hire for the customization.
    It’s really complex to understand your code here.

    Thank You

    #12532
    marcoluca1988
    Participant

    Thanks I fix it!

    #12549
    acmesupports
    Moderator

    Hello marcoluca1988,
    Nice to know that your problem is solved.

    Regards

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Child-Theme – Page with slider’ is closed to new replies.