Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1356614
    xoa
    Participant

    Hello, as the title says, i’d like to put a static image or a custom slider in full-width directly below the title after header menu, like this (see images)

    How can I do this?

    My website is http://www.soelvahof.com and I use the newest versions of the theme etc.

    #1356720
    Paul R
    Moderator

    Hi,

    Your site is currently under construction mode.

    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.

    #1356735
    xoa
    Participant
    This reply has been marked as private.
    #1356918
    xoa
    Participant

    Basically, every slider I add, with the setting “BELOW MASTHEAD”, I’d still like to have the page-title over the slider and not under the slider.

    #1357094
    Jade
    Moderator

    Hi there,

    Please add this code in the customizer:

    
    .page .entry-featured {
        border: 0;
        padding: 0;
    }
    
    .page .x-container.offset {
        width: 100%;
    }
    
    .page .entry-content {
        width: 90%;
        margin: 0 auto;
    }

    Hope this helps.

    #1357113
    xoa
    Participant

    Better now, still a thing. How can I get the image up to the line?

    #1357183
    Joao
    Moderator

    Hi There,

    Please add the following code to Appereance > Customizer > Custom > CSS

    .page .x-container.offset {
            margin-top: 0;
    }

    Hope it helps

    Joao

    #1357249
    xoa
    Participant

    Hey, thank you for your help. Now this works perfect. The last thing to fix is, that we also need to get my Layer-sliders at the same position, under the page title.

    #1357667
    Christopher
    Moderator

    Hi there,

    Thanks for writing in! Regretfully, at this time I am not entirely certain what it is you would like to accomplish based on the information given in your post. If you wouldn’t mind providing us with a little more clarification on what it is you’re wanting to do (a link to a similar example site would be very helpful, or perhaps some screenshots), we’ll be happy to provide you with a response once we have a better understanding of the situation.

    #1357709
    xoa
    Participant

    Hey, ok… I’ll try to explain it better. Basically, I like to do the same thing done above just with the sliders. We already foudn a solution for the static images, and now I’l like to put my slider under the page-title. (Header->page title->slider->content)

    #1357744
    Rue Nel
    Moderator

    Hello There,

    Thanks for updating in and for the clarifications.

    What you are trying to accomplish requires a template customization, we would like to suggest that you use a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.

    Once you have your child theme active and ready, please follow the following steps below:
    1] Using Notepad or TextEdit or Sublime Text or any text editor, please create a new file in your local machine.
    2] Insert the following code into that new file

    <?php
    
    // =============================================================================
    // VIEWS/RENEW/WP-HEADER.PHP
    // -----------------------------------------------------------------------------
    // Header output for Renew.
    // =============================================================================
    
    ?>
    
    <?php x_get_view( 'global', '_header' ); ?>
    
      <?php x_get_view( 'global', '_slider-above' ); ?>
    
      <header class="<?php x_masthead_class(); ?>" role="banner">
        <?php x_get_view( 'global', '_topbar' ); ?>
        <?php x_get_view( 'global', '_navbar' ); ?>
      </header>
    
      <?php x_get_view( 'renew', '_landmark-header' ); ?>
      <?php x_get_view( 'global', '_slider-below' ); ?>

    3] Save the file named as wp-header.php
    4] Upload this file to your server in the child theme’s folder
    wp-content/themes/x-child/framework/views/renew/

    We would loved to know if this has work for you. Thank you.

    #1357851
    xoa
    Participant

    Thank you, worked like a charm!

    #1357861
    Thai
    Moderator

    If you need anything else please let us know.

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