Title: CSS classes issues
Last modified: July 11, 2018

---

# CSS classes issues

 *  Resolved [Lachezary](https://wordpress.org/support/users/gotmort/)
 * (@gotmort)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/css-classes-issues/)
 * pass for the website
    0000 that is a temporary domain
 * I had to stop fixing some CSS issues before a few weeks. Today I`m back and i
   see that large part of my manually written code in the amp/design/global is not
   correct because somehow the css classes got changed (or some are missing).
    example
   these are two images which i need to put as a background here is my working code
 * .amp-wp-9cf8f6a {
    background-image: url([https://serviz.bg/wp-content/uploads/2015/03/tsar-ivan-asen-ii-64.png](https://serviz.bg/wp-content/uploads/2015/03/tsar-ivan-asen-ii-64.png));
   padding: 10px;background-repeat: no-repeat;} .amp-wp-f37de05 { background-image:
   url(‘[https://serviz.bg/wp-content/uploads/2015/03/opylchenska-38-a.png&#8217](https://serviz.bg/wp-content/uploads/2015/03/opylchenska-38-a.png&#8217););
   padding: 10px;background-repeat: no-repeat;}
 * Unfortunately, these classes are not existing anymore and therefore nothing happens.
   
   I also noticed some new quite longer css classes like .amp-wp-inline-0ae4104c657c3032469e8d5cb06868e2
   instead of somethihg like .amp-wp-9cf8f6a. I`m not sure is this a replacement
   or a just something else.
 * My question is can i revert back to the other classes (the shorter) or can you
   suggest something else as a solution.
 * Regards
    Lacho
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcss-classes-issues%2F%3Foutput_format%3Dmd%26view%3Dall&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [ampforwp](https://wordpress.org/support/users/ampforwp/)
 * (@ampforwp)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/css-classes-issues/#post-10487055)
 * Hey Gotmort,
 * Thank you for the information.
 * I would like to inform you that the classes come dynamically and we can’t target
   that so it would be better if you create a new class and target it.

Viewing 1 replies (of 1 total)

The topic ‘CSS classes issues’ is closed to new replies.

 * ![](https://ps.w.org/accelerated-mobile-pages/assets/icon-256x256.png?rev=1693616)
 * [AMP for WP - Accelerated Mobile Pages](https://wordpress.org/plugins/accelerated-mobile-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/accelerated-mobile-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/accelerated-mobile-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/accelerated-mobile-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/accelerated-mobile-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/accelerated-mobile-pages/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [ampforwp](https://wordpress.org/support/users/ampforwp/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/css-classes-issues/#post-10487055)
 * Status: resolved