The lightbox button is not centered on my website

  • Profile Image
    GetSet
    Asked on May 18, 2017 at 12:28 PM

    Yes, the button is "APPLY TO OWN A HOME" and it is in the top photo on the Services page. http://spencercountyhfh.com/services.html

    Having to use the "btn lightbox" class seems to be overriding the bootstrap "button" class. The button should be centered. I've tried a few things to get it to center again, but no luck. I'm going to work on it a little more today, but have so many other things, I just thought you may have seen this happen before and knew what to do.

    Thanks!

    Sue

  • Profile Image
    Welvin
    Answered on May 18, 2017 at 12:35 PM

    Add the following CSS codes to your current web stylesheet or in the header of the services page;

    a.button.btn.lightbox-71365924784164 {

        display: block !important;

        width: 24% !important;

    }

    The codes should center the button. See screenshot:

  • Profile Image
    Sue
    Answered on May 18, 2017 at 04:01 PM

    Thank you. I got it to center with an existing CSS style, though. I appreciate your quick response and solution!

    Sue