Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1099264
    mjamison3
    Participant

    I was able to add a revolution slider below my navbar using the code below. However, I would like to add it above the masterhead. Can you please tell me how to add it above the masterhead.

    <?php putRevSlider(“vimeo-hero”,”homepage”) ?>

    <?php if ( $is_enabled ) : ?>

    <div class=”x-flexslider x-post-slider”>
    <ul class=”x-slides”>

    #1099519
    Prasant Rai
    Moderator

    Hello There,

    Thanks for writing in!

    You can please revolution slider above masthead using Cornerstone. To do that look for “Slider Setting – Above Masthead” under the Settings tab.

    http://prntscr.com/bweg2f

    Thanks.

    #1099794
    mjamison3
    Participant

    How do you get that area of Cornerstone to see those tabs, particularly for the revolution slider?

    #1099803
    Friech
    Moderator

    Hi There,

    Are you referring to the Blog index page? Please open/edit the page and see the Slider Settings: Above Masthead option, and select your slider from the dropdown.


    screenshot

    Hope it helps, Cheers!

    #1099817
    mjamison3
    Participant

    When I go to Pages, there is no option to select the home/blog/index page.

    #1099825
    Thai
    Moderator

    Hi There,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks.

    #1099826
    mjamison3
    Participant
    This reply has been marked as private.
    #1099844
    Christopher
    Moderator

    Hi there,

    Copy wp-header.php from framework/views/ethos and put it in the same path inside child theme, replace existing code with following :

    <?php
    
    // =============================================================================
    // VIEWS/ETHOS/WP-HEADER.PHP
    // -----------------------------------------------------------------------------
    // Header output for Ethos.
    // =============================================================================
    
    ?>
    
    <?php x_get_view( 'global', '_header' ); ?>
     <?php
        if ( is_home() ) {
          echo '<div class="x-slider-container above">';
            echo do_shortcode( '[rev_slider test]' );
          echo '</div>';
        }
        ?>
      <?php x_get_view( 'global', '_slider-above' ); ?>
    
      <header class="<?php x_masthead_class(); ?>" role="banner">
        <?php x_get_view( 'ethos', '_post', 'carousel' ); ?>
        <?php x_get_view( 'global', '_topbar' ); ?>
        <?php x_get_view( 'global', '_navbar' ); ?>
        <?php x_get_view( 'ethos', '_breadcrumbs' ); ?>
      </header>
    
      <?php x_get_view( 'global', '_slider-below' ); ?>
      <?php x_get_view( 'ethos', '_landmark-header' ); ?>

    Note that you will need to update the [rev_slider test] shortcode in the do_shortcode() function with your own shortcode for this to work properly.

    Hope it helps.

    #1099857
    mjamison3
    Participant

    That helped a lot. Thanks!

    #1099869
    Christopher
    Moderator

    You’re welcome.

    #1205185
    sunnyragam
    Participant

    Integrity 1 default video revolution slider and div tags does not work.

    Conerstone says,

    Warning: Missing argument 3 for Cornerstone_Enqueue_Extractor::preview_style_element() in /home/suryananda/public_html/cinemas/wp-content/plugins/cornerstone/includes/classes/builder/class-enqueue-extractor.php on line 19

    #1205220
    Rahul
    Moderator

    Hey There,

    Thank you for writing in!

    We kindly ask that you open up a separate thread. The longer threads get in the forum, they become more difficult to support as they tend to drift off topic and they also make it troublesome for users trying to search for solutions.

    Thank you for understanding, Cheers!

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