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

Created on 19 November 2023, 7 months ago
Updated 24 November 2023, 7 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.69.0 2024