Topic: Custom Pagination color
                  
                  p_manageroksoft-ru
                  pro
                  asked 6 years ago
                
How i can change pagination color in skin? I used _custom-skin.scss
                      
                      Marta Wierzbicka
                      free
                        answered 6 years ago
                    
Hi,
so you need to install any preprocessor: https://sass-lang.com/install or use Gulp together with MDB Gulp package: https://mdbootstrap.com/education/bootstrap/gulp-installation/.
Best, Marta
                      
                      Marta Wierzbicka
                      free
                        answered 6 years ago
                    
Hi,
have you recompiled your mdb.css file after changing _custom-skin.scss file? Do you see a changed pagination color in mdb.css file?
Best, Marta
                      
                      p_manageroksoft-ru
                      pro
                        answered 6 years ago
                    
Hello! It is doesn`t work. I changed the skin_scss, but pagination color did not change
// Your custom skin
// Skins
$skins: () !default;
$skins: map-merge((
  "test": (
    "skin-primary-color":#d32f2f, 
    "skin-navbar":             #fff,
    "skin-footer-color":       #fff,
    "skin-flat":               #fff,
    "skin-accent":             #fff, 
    "skin-sidenav-item":       #fff, 
    "skin-sidenav-item-hover": #fff,
    "skin-gradient-start":     #fff,
    "skin-gradient-end":       #fff,
    "skin-mask-slight":        #fff,
    "skin-mask-light":         #fff,
    "skin-mask-strong":        #fff,
    "skin-sn-child":           #fff,
    "skin-btn-primary":        #fff,
    "skin-btn-secondary":      #fff,
    "skin-btn-default":        #fff,
    "skin-text":               #fff,
  )
), $skins);
                      
                      Marta Wierzbicka
                      free
                        answered 6 years ago
                    
Hi,
in your object, you need to change the value of this key skin-primary-color to change the color of pagination.
Best, Marta
p_manageroksoft-ru pro commented 6 years ago
Hi Marta, thanks! I`l try it
Marta Wierzbicka free commented 6 years ago
You're, welcome.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Pro
 - Premium support: No
 - Technology: General Bootstrap questions
 - MDB Version: -
 - Device: lenovo
 - Browser: chrome
 - OS: windows
 - Provided sample code: No
 - Provided link: No
 
Bartłomiej Malanowski staff commented 6 years ago
Could you please share the code that you've tried and didn't work?
p_manageroksoft-ru pro commented 6 years ago
http://fucoidan-world.oksoft.ru/news/rubrics/1
// Your custom skin // Skins $skins: () !default; $skins: map-merge(( "test": ( "skin-primary-color": #fff, "skin-navbar": #fff, "skin-footer-color": #fff, "skin-flat": #fff, "skin-accent": #fff,
"skin-sidenav-item": #fff,
"skin-sidenav-item-hover": #fff, "skin-gradient-start": #fff, "skin-gradient-end": #fff, "skin-mask-slight": #fff, "skin-mask-light": #fff, "skin-mask-strong": #fff, "skin-sn-child": #fff, "skin-btn-primary": #fff, "skin-btn-secondary": #fff, "skin-btn-default": #fff, "skin-text": #fff, ) ), $skins);