• Resolved SureAqua

    (@sureaqua)


    Hi

    Could you please provide the code to change the style of H1 to H6 heading styles. And exactly where to place the new code.

    thanks Robert

Viewing 8 replies - 1 through 8 (of 8 total)
  • please post a link to your site

    Thread Starter SureAqua

    (@sureaqua)

    Thread Starter SureAqua

    (@sureaqua)

    Hi,
    Also I would like to know how to change the style of the post title.

    thanks Robert

    Theme Author nobita

    (@nobita)

    Hi SureAqua

    For example.

    .hentry .entry-content{
    	color:#fff/* entry content base color */;
    }
    .hentry .entry-content h1,
    .hentry .entry-content h2,
    .hentry .entry-content h3,
    .hentry .entry-content h4,
    .hentry .entry-content h6,
    .hentry .entry-content h5{
    	color:red;
    	font-size:13px;
    
    }
    #site-title span,
    .entry-title span,
    .footer-widget .widgettitle,
    .rsidebar .widget-title,
    .lsidebar .widgettitle{
    	color:red;
    	font-size:13px;
    }

    thank you.

    Thread Starter SureAqua

    (@sureaqua)

    Where should I place this code?

    If I wanted to change the style of the H2 header for example, the code would look like

    ,hentry .entry-content h2{
    color:red;
    font:
    font-size:15px;
    font-style:romantimes;

    Thread Starter SureAqua

    (@sureaqua)

    Sorry…

    .hentry .entry-content h2{
    color:red;
    font-size:15px;
    font-family:arial;
    font-weight:700
    }

    Theme Author nobita

    (@nobita)

    Add to style.css ( when if you are using child theme, child theme/style.css ) last line.

    .hentry .entry-content h2{
    color:red;
    font-size:15px;
    font-family:arial;
    font-weight:700
    }

    Style is applied to the h2 elements that are described in the body of a post

    More example

    styles for each post

    create custom field ‘css’ and value below

    h2{
     color:red;
     font-size:15px;
     font-family:arial;
     font-weight:700
    }

    Style is applied only to that post

    Thank you.

    Thread Starter SureAqua

    (@sureaqua)

    thanks very much

    All works great

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘How to change style and colour for H1 to H6’ is closed to new replies.