Title: &#8220;ID&#8221; Class
Last modified: December 29, 2018

---

# “ID” Class

 *  Resolved [tarzan61](https://wordpress.org/support/users/tarzan61/)
 * (@tarzan61)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/id-class/)
 * I created 4 different landing pages using the same 2 buttons. Unfortunately when
   I use custom CSS to move the buttons for each page they all move. Instead of 
   creating 4 duplicate sets of buttons I wanted to create my own ID for each button.
 * Can this be achieved?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fid-class%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Bas Schuiling](https://wordpress.org/support/users/basszje/)
 * (@basszje)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/id-class/#post-11036983)
 * Hi,
 * I’m not sure what you are trying to achieve, but there are a lot of ways to fix
   the situation.
 * I can see on your site that one button has a margin and the other one not, is
   this the move you describe? There is some custom CSS with a correct target:
 * You can target the CSS by class .maxbutton .maxbutton-[name] and / or ID . If
   you reuse the same button on any said page you should get the same result, if
   the CSS is loaded. If you describe your exact issue I can be of more help.
 * Some tips:
 * – Container options support margins.
    – Don’t forget to reload autoptimize cache
   every time you change something ( or test without it ) – Setting of a Button 
   ID can be done in [MaxButtons PRO](https://maxbuttons.com) – PRO also has options
   for custom CSS per button

Viewing 1 replies (of 1 total)

The topic ‘“ID” Class’ is closed to new replies.

 * ![](https://ps.w.org/maxbuttons/assets/icon-128x128.png?rev=1378636)
 * [MaxButtons - Create buttons](https://wordpress.org/plugins/maxbuttons/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/maxbuttons/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/maxbuttons/)
 * [Active Topics](https://wordpress.org/support/plugin/maxbuttons/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/maxbuttons/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/maxbuttons/reviews/)

## Tags

 * [div](https://wordpress.org/support/topic-tag/div/)

 * 1 reply
 * 2 participants
 * Last reply from: [Bas Schuiling](https://wordpress.org/support/users/basszje/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/id-class/#post-11036983)
 * Status: resolved