varbase-heroslider-media.theme.scss uses variables.scss from module varbase_heroslider_media

Created on 19 November 2023, about 1 year ago
Updated 24 November 2023, 12 months ago

Problem/Motivation

I want to override $hero-max-height variable in local theme variable.scss, but it is set in varbase_heroslider_media module and not overrided.

How to do it?

🐛 Bug report
Status

Active

Version

9.0

Component

Code

Created by

🇷🇺Russia vvs Russia

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

Comments & Activities

  • Issue created by @vvs
  • 🇯🇴Jordan Rajab Natshah Jordan

    Thanks, Vitaliy, for asking.

    Have you noticed the other vartheme_bs4-variables.scss file
    Which has the Custom Varbase Hero slider media variables.

    // Custom Varbase Hero slider media variables.
    // -----------------------------------------------------------------------------
    
    // Text color.
    $hero-title-text-color: #fff;
    $hero-brief-text-color: #fff;
    $hero-link-text-color: #fff;
    
    // Font sizes with responsive sizes.
    $hero-xlarge-title-font-size-xs: 3.3rem;
    $hero-xlarge-title-font-size-sm: 3.3rem;
    $hero-xlarge-title-font-size-md: 57px;
    $hero-xlarge-title-font-size-lg: 57px;
    $hero-xlarge-title-font-size-xl: 57px;
    
    // Hero content style.
    $hero-content-hover-opacity: 0.7;
    $hero-content-background-color1: rgb(0,0,0);
    $hero-content-background-color2: rgba(0,0,0,0.3);
    
    // Empty hero background color.
    $hero-empty-view-background: #e0e0e0;
    
    // Gutter for arrow of navigation.
    $hero-arrow-gutter: 0.63rem;
    
    // Height for screen size and less.
    $hero-min-height: 300px;
    $hero-max-height: 300px;
    
    // For screen size sm and more.
    $hero-min-height-sm: 300px;
    $hero-max-height-sm: 300px;
    
    // For screen size md and more.
    $hero-min-height-md: 600px;
    $hero-max-height-md: 600px;
    
    $hero-container-v-padding: 60px;
    
    
  • 🇷🇺Russia vvs Russia

    Thanks, Rajab.

    I moved this variables to local vartheme_bs4-variables.scss, but changhing this vars is affected, it's have values from module vars.

Production build 0.71.5 2024