Home Forums Theme Support Dokan Child style.css gets overwritten

This topic is: not resolved

This topic contains 15 replies, has 2 voices, and was last updated by  Nayem 4 years, 2 months ago.

Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • #33419

    Peter Thielen
    Member
    Post count: 69

    Hello,

    I made a child theme and changed some things in style.css, but it gets overwritten by bootstrap.css and green.css. How can I use a child theme to change some style rules of the theme?

    Thanks in advance.

    Best regards,

    Peter

    #33436

    Nayem
    Moderator
    Post count: 6480

    Hello Peter,

    You can create a new class for your child theme. Style will be overwritten, when the class name will same. So you can change the class name for preventing this overwritten problem.

    Thank you ๐Ÿ™‚

    #34396

    Peter Thielen
    Member
    Post count: 69

    Sorry, I don't know what you mean here. Could you please explain more fully?

    Thanks

    #34407

    Nayem
    Moderator
    Post count: 6480

    Hello Peter,

    When the css class name will same that time style will be overridden. You can use a different class name for your css style in your child theme. Example – If you have a class like .test{} in your main file then you can change the class name in your child theme to prevent those overriding problem.

    Thank you ๐Ÿ™‚

    #34440

    Peter Thielen
    Member
    Post count: 69

    I am sorry, I still don't understand.
    If you have a text you want to change on a webpage that is surrounded by a class .test{} and you want to overwrite the style of .test{}, then how does changing the name in the child theme help?

    #34443

    Nayem
    Moderator
    Post count: 6480

    Hello Perter,

    Actually you may need to discuss with an expert about this. I am really sorry to say that we do not provide support for any kind of customization.

    Thank you for understanding ๐Ÿ™‚

    #34445

    Peter Thielen
    Member
    Post count: 69

    You are the developers of the plugin, so you know best how it works and where the different files and content is located. So it is not more than logical that I come here to ask questions about the plugin content.

    You should be able to explain why bootstrap.css and green.css overwrite style.css in a child-theme, because it is part of the plugin.

    #34450

    Nayem
    Moderator
    Post count: 6480

    Hello Peter,

    What you are trying to do is customization. We only provide support for our built in feature, installation, configuration and uses. We do not provide support for customization.

    Thank you for understanding ๐Ÿ™‚

    #34770

    Peter Thielen
    Member
    Post count: 69

    Can you at least tell how and where bootstrap.css and green.css are implemented?

    #34796

    Nayem
    Moderator
    Post count: 6480

    Hello Peter,

    I can direct you to the path of the file. For those file you have to open wp contnent/wedevs-dokan/assest/css. In the css folder you will find those file.

    Thank you ๐Ÿ™‚

    #34848

    Peter Thielen
    Member
    Post count: 69

    I know where the files are located… I mean how they are implemented in the code.

    #34883

    Nayem
    Moderator
    Post count: 6480

    Hello Peter,

    I am really sorry to say that we do not provide support for customization. We only provide support for our built it feature, installation and configuration. You can read our support policy to know more- http://wedevs.com/support-policy/.

    Thank you ๐Ÿ™‚

    #34931

    Peter Thielen
    Member
    Post count: 69

    I am asking how a build in function is implemented.

    #34960

    Nayem
    Moderator
    Post count: 6480

    Hello Peter,

    I am not clear about your question. Can you please describe in more details?.

    Thank you ๐Ÿ™‚

    #35357

    Peter Thielen
    Member
    Post count: 69

    How are bootstrap.css and skincolor (for example green.css) implemented.

Viewing 15 posts - 1 through 15 (of 16 total)

The topic ‘Child style.css gets overwritten’ is closed to new replies.