the slideshow/banner option on front page is not working on my website

Created on 16 April 2024, 8 months ago
Updated 22 April 2024, 8 months ago

Problem/Motivation

The banner/slideshow is not show on front page. Only blank space below the menu and the logo.

Steps to reproduce

Install the theme using composer
enable the theme on the administration page
Add the images to the slideshow configuration
save the changes

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

9.1

Component

Code

Created by

🇨🇼Curaçao rramirezsn

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @rramirezsn
  • 🇨🇼Curaçao rramirezsn
              </div>
            </div>
          </nav>
        {% endif %}
        {% if is_front %}
        {% if slideshow_display %}
          <div id="header-carousel" class="carousel slide carousel-fade" data-bs-ride="carousel">
            <div class="carousel-inner">
    

    Problem is with is_front variable that never get the "TRUE" value therefore the slideshow is never display.

    How can I fix this? my frontpage is defined as "/inicio".

  • 🇮🇳India ravi kant Jaipur

    I have just tested in Drupal 10. The slider is working fine after making a change in the info file for Drupal 10 compatibility.
    @rramirezsn Do you want a solution for Drupal 9 because Drupal 9 has been deprecated now.

  • 🇨🇼Curaçao rramirezsn

    hi @ravi:
    Im using drupal 10.2.3.
    I managed to get it working, seem a problem with my frontpage definition.

    By the way with change did you made to the info file?

    One question, when scrolling the menu is not fixed to top, see attached image, is that normal behaviour? how can put it fixed to top when scrolling?

  • 🇮🇳India ravi kant Jaipur

    @rramirezsn

    One question, when scrolling the menu is not fixed to top, see attached image, is that normal behaviour? how can put it fixed to top when scrolling?

    This issue need to do in separate ticket.

  • 🇨🇼Curaçao rramirezsn

    @ravi

    thanks, I already fix it. Was a top padding defined on /lib/style.css.

        .sticky-top.navbar-dark {
            position: fixed;
            /*top: 79px;*/
            background: #FFFFFF;
        }
    
Production build 0.71.5 2024