navigate icon missing


  • puneet
    Newbie
     
    23 points

    how to edit navigate left – right icon in content slider.

    Attachments:
    You must be logged in to view attached files.

    Josh
    Josh
    Super Guru
     
    13,888 points

    Hello Puneet,
    They are not missing.The default homepage carousel does not have navigation arrows by default.Check theme demo.But the Page Builder does have the option to add arrows
    But here is how you could add them in default homepage:

    -First add the below code under Theme Setup >General Setup >Custom css

    .owl-controls .owl-buttons .owl-prev {
    left: -5px;
    top: 110px;
    }
    .owl-controls .owl-buttons .owl-next {
    right: -5px;
    top: 110px;
    }
    .owl-controls .owl-buttons div {
    position: absolute;
    background: #BBBBBB;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
    }

    -Am assuming you are using a child theme.If so Access the file Appearance >Editor >home.php (home-layout-microjobs1.php if not using a child theme)
    Locate:

    <script>
    jQuery(document).ready(function() {
    jQuery("#car1").owlCarousel({ items : 4, autoPlay : true, rtl: true });
    });
    </script>

    Replace with:

    <script>

    jQuery(document).ready(function() {
    jQuery("#car1").owlCarousel({ items : 4, autoPlay : true, rtl: true, navigation:true, navigationText: [
    "<i class='icon-chevron-left icon-white'><</i>",
    "<i class='icon-chevron-right icon-white'>></i>"
    ], });
    });

    </script>

    This reply was awarded the best answer by the topic poster.


    puneet
    Newbie
     
    23 points

    thanx….. i can do it


    Josh
    Josh
    Super Guru
     
    13,888 points

    You’re welcome Puneet.Have a great day :)


    Danielle
    Danielle
    Newbie
     
    62 points

    I have a child theme but the files I need to edit are still under the parent theme. What should I do?


    Josh
    Josh
    Super Guru
     
    13,888 points

    Hello Danielle,
    Copy the files you want to edit to the child theme (basic files not core theme files)
    Video Tutorials: https://www.youtube.com/user/premiumpressvideos/
    Manuals: http://www.premiumpress.com/documentation/


Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.