Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1018405
    Boans
    Participant

    Hey you all. I’ve created my own image buttons for a project and they align left (they way they should) until I add a hyperlink attribute then they align center. The image doesn’t respond to a margin style either. Is there another way to fix this?

    #1018455
    Rupok
    Member

    Hi there,

    Thanks for writing in! You can add a class (say custom-class) to the Class field and add this CSS under Custom CSS :

    a.x-img.custom-class > img {
      margin-left: 0;
      margin-right: 0;
    }

    Don’t forget to replace custom-class with your given class name.

    Hope this helps.

    Cheers!

    #1018594
    Boans
    Participant

    Fantastic as usual, thanks!

    #1018648
    Rupok
    Member

    You are welcome!

    Glad that it helped. Feel free to let us know if you face any other issue. We’ll be happy to assist you.

    Thanks for using X.

    Cheers!

  • <script> jQuery(function($){ $("#no-reply-1018405 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>