• Hello Everyone,

    I’m hoping to get some help with changing the height of the picture carousel in the Avenue theme.

    Adding custom CSS in a “child” theme would normally work for an issue like this, I believe, but in this case the height of the carousel (called camera_wrap_1) is set using JavaScript somewhere in the theme. The JavaScript is loaded after the header, so it was overwriting the child theme which was loaded in the header. This is what I see in the source code:

    <script>
        jQuery(document).ready(function($){
            jQuery('#camera_wrap_1').camera({
                height: '400px',
                loader: 'pie',
                pagination: false,
                thumbnails: false,
                fx: 'simpleFade',
                time: 4000,
                overlayer: true,
            });
        });
    </script>

    I tried Automattic’s Custom JavaScript Plugin, without success too. The plugin gave me an error of “alert was used before it was defined” when simply putting alert(“”); in the editor.

  • The topic ‘Changing Carousel Height in Avenue Theme’ is closed to new replies.