Support » Plugin: AMP for WP - Accelerated Mobile Pages » CSS needed for headers

  • Resolved Rajib

    (@bytegeeky)


    Hey, I use custom CSS in my theme to center align all headers ( H1 TO H6) and also to add colors to those headers. But in AMP version those styling does not work. I still see all default styling in AMP version.

    Would you mind sharing few pieces of CSS codes which will enable the following.

    1) Center align all headers in posts (H1 to H6)
    2) Add custom colors to all headers (Share any color code, I will change it as per my preference)

    Thanks in advance

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Can you please use this custom CSS on your website?

    .content-wrapper h1{color:red;}
    .content-wrapper h2{color:green;}
    .content-wrapper h3{color:blue;}
    .content-wrapper h4{color:yellow;}
    .content-wrapper h5{color:brown;}
    .content-wrapper h6{color:orange;}

    AMP->Design->Global->custom CSS

    Thread Starter Rajib

    (@bytegeeky)

    Hey, this works great . Thanks

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    We are glad that your issue has been resolved.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘CSS needed for headers’ is closed to new replies.