• In a wordpress site with eStore theme on my local wamp, it is notice the section has a different font so I want to keep it consistence, I want to put the following code in the CSS as seen in the screenshot below:

    https://snag.gy/WXVKYC.jpg

    .page-id-367 #colophon,.page-id-367 #masthead,.page-id-367 .entry-sub-title{display:none}#colophon .widget_text{margin-top:0}.page-id-367 .page-header{margin-bottom:0}

    Below is added code and prompts error: Expected RBRACE at row 3 col 19.
    .left-top-header {.font-family: inherit}

    How do I write the correct css?

    Thank you very much.

Viewing 1 replies (of 1 total)
  • Hi,

    For the property of the CSS, you don’t need to insert the ‘.’ as it is used for the class. Also, after declaring the property, it should end with ‘;’. You can write the code as below:

    .left-top-header {
        font-family: inherit;
    }

    Thanks.

Viewing 1 replies (of 1 total)

The topic ‘How to add customized css’ is closed to new replies.