Jump to content

Monolith Board Games

Clients
  • Posts

    12
  • Joined

  • Last visited

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by Monolith Board Games

  1. Ok .... it's works with simples rules 😞

    The changes I want to make are to redefine some variables like:

    :root {
          --to-primary-color: #bf755a;
          --to-primary-color-hover: #d38467;
          --theme-item_status: 191,117,90;
    } 

    Can you confirm that the operation is that in the case of a child theme, the custom.css of the parent is ignored?

  2. Hello, this is the test URL.

    You will find several skins below.
    SKIN TO V3 is the main one, the others are child skins of this one.

    When I use the _SKIN Conan for example, I see the custom.css used integrates the rules of the custom.css of the Conan skin before the custom.css of the main skin. In this case i'm not be able to change rules in the child skin. 

    Do you see what I mean?

     

    This part of code it's from custom.css Conan File and it's added before the main code

    Quote

    @import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Marcellus+SC&family=Palanquin+Dark:wght@400;700&display=swap');#ipsLayout_header header {
        background: #0b0706 url("https://the-overlord.com/Images/header-skin-conan-v2.jpg") center no-repeat;
    }

    :root {
        --to-primary-color: #bf755a;
        --to-primary-color-hover: #d38467;
        --theme-item_status: 191,117,90;
    }

    .ipsPager_prev a {
        color: #bf755a !important;
    }

    .ipsPager_prev a:hover {
        color: #d38467 !important;
    }

     

  3. First of all, excuse my bad english... so

    The site is under modifications, this is not public now.

    My example :

    I have 2 themes, a primary one (SKIN TO V3) , and a child theme _SKIN CAPITAINE VAUDOU (colors modifications et sommes other changes)

    Could contain: Text

    For the first theme, I have this files, i'ts OK for me

    Could contain: Mobile Phone, Phone, Electronics, Text

    For the child theme, all files other than the customs.css are inherited from the main theme, only the custom.css is modified.

    Could contain: Mobile Phone, Phone, Electronics, Text

    I made some changes in the custom.css file of the child theme, and I see when the site engine loads the CSS, that it concatenates the result by first loading the custom.css of the child theme, and then the custom.css of the parent theme.

    In fact, in this case, I'm not be able du overwrite rules in my child theme.

     

×
×
  • Create New...