Child Themes, can't change frontpage CSS

  • Author
    Posts
  • #14826
    Diego Rucci

    Hi,
    I really like Mantra theme. I made a child theme following WordPress instructions (just a new folder and copied style.css)
    I want to change some styles, in example “#frontpage blockquote”
    Using Custom CSS from admin panel doesn’t work.
    Then I found that frontpage CSS is created on the run by /includes/frontpage-theme.php
    So I copied to my child theme, modified but doesn’t work.
    Then copied index.php and functions.php but my site got broken.

    How can I change frontpage CSS?

    #14827
    Diego Rucci

    typo: correct filename should be “includes/theme-frontpage.php”

    #14829
    route-asia

    Diego,

    here is a snippet from my ChildMantra: Stylesheet (style.css)

    #frontpage blockquote {
    width:88% ;
    max-width:88% !important;
    margin-bottom:20px;
    font-size:16px;
    line-height:22px;
    color:#444;
    }

    You have to try !important;
    It works 😉

    Regards
    RA

    #14858
    Diego Rucci

    That worked! Thanks RA
    I think I should start re-reading my CSS manuals.

    Solved

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Child Themes, can't change frontpage CSS’ is closed to new replies.