Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1071510

    Hi
    Since the recent update, I can no longer change the logoslider.php file to include 10 columns instead of a max of 8.
    Can you please look at this and see what I am doing wrong?
    I am using it on the homepage – tapintoit.org.uk/ – you will see that I now have 2 lines of supporters near the bottom of the page instead of 1 row, which looked more pleasing to the eye.

    I had previously changed this code :

    array(
    “name” => __(“Columns”, ‘avia_framework’ ),
    “desc” => __(“How many columns should be displayed?”, ‘avia_framework’ ),
    “id” => “columns”,
    “type” => “select”,
    “std” => “3”,
    “subtype” => array( __(‘1 Columns’, ‘avia_framework’ )=>’1′,
    __(‘2 Columns’, ‘avia_framework’ )=>’2′,
    __(‘3 Columns’, ‘avia_framework’ )=>’3′,
    __(‘4 Columns’, ‘avia_framework’ )=>’4′,
    __(‘5 Columns’, ‘avia_framework’ )=>’5′,
    __(‘6 Columns’, ‘avia_framework’ )=>’6′,
    __(‘7 Columns’, ‘avia_framework’ )=>’7′,
    __(‘8 Columns’, ‘avia_framework’ )=>’8′,
    __(‘9 Columns’, ‘avia_framework’ )=>’9′,
    __(’10 Columns’, ‘avia_framework’ )=>’10’,

    )),
    and this too
    switch($columns)
    {
    case “1”: $grid = ‘av_fullwidth’; break;
    case “2”: $grid = ‘av_one_half’; break;
    case “3”: $grid = ‘av_one_third’; break;
    case “4”: $grid = ‘av_one_fourth’; break;
    case “5”: $grid = ‘av_one_fifth’; break;
    case “6”: $grid = ‘av_one_sixth’; break;
    case “7”: $grid = ‘av_one_seventh’; break;
    case “8”: $grid = ‘av_one_eighth’; break;
    case “9”: $grid = ‘av_one_nineth’; break;
    case “10”: $grid = ‘av_one_tenth’; break;

    }
    But it doesn’t work now?

    Any thoughts

    Thanks

    #1072926

    Hey tapintoit,

    Thank you for your patience.

    How did you implement that code? Did you create a duplicate of the shortcode file in the child theme directory? The grid is using the class attribute “av_one_eighth” instead of the chosen option “av_one_tenth”.

    Best regards,
    Ismael

    #1073065

    Hi Ismael
    I implemented it on the Enfold theme > > via shortcode> logoslider.php which was obviously overwritten with the update.
    I copied it to the child theme but it didn’t work…
    None of the files seem to work with the child theme really so I must not have set it up properly….obviously, the quick css changes do work but otherwise if I replicate the folders from the main theme to the child theme – they don’t work…..
    Thanks

    #1073496

    Hi,

    Thanks for the update.

    You can override the shortcode files in a child theme but you need to filter or redirect the shortcode path.

    // https://kriesi.at/documentation/enfold/intro-to-layout-builder/#add-elements-to-alb

    After adding the filter, create a folder called “shortcodes” inside the child theme directory and then place the shortcode files inside.

    Best regards,
    Ismael

    #1073968

    Fantastic – understand now….got it working again.
    Thank you v much Ismael.

    This issue can be closed now thanks.

    #1074168

    Hi,

    Awesome. We’ll close the thread now.

    Have a nice day.

    Best regards,
    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Logo Slider max images = 8 would like 10’ is closed to new replies.