Viewing 1 replies (of 1 total)
  • Yes, this is possible.

    If you look in the class.Cookiebanner.php file and do a search for “static function getCSS” you will se some CSS code.

    .cookieBannerContainer
        {
         padding: 0px 5%;
         position: fixed;
         {$options['cookieBannerPosition']}: 0px;
         height: {$options['cookieBannerHeight']}px;
         line-height: {$options['cookieBannerHeight']}px;
         background: {$options['mainColour']};
         color: {$options['textColour']};
         z-index: 9999;
         font-size: 14px; //Edit this bit right here
         opacity: 0.8;
         text-align: right;
         left: 0px;
         right: 0px;
        }

    Just edit the marked bit there and you will change the font-size.

    NOTE: This css class only change the font-size in desktop-mode. If you wanto to change the fontside in the mobileview you have to change this css class.

    .cookieBannerText
      {
       font-size: 9px;
       width: 95%;
     }

    ??

Viewing 1 replies (of 1 total)
  • The topic ‘Change font size’ is closed to new replies.