This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Call to Action alignment css support

10 years ago · Last reply by Andrew Misplon 10 years ago

Good day

I have found the following css.

.home .sow-cta-wrapper .so-widget-sow-button {
    margin: 0 auto;
    float: none !important;
}

This only applied to the button.

So I installed the Site Origin css, and used it to find the CTA and it gave me the following css

.sow-cta-base {
  text-align: center;
}

but nothing happen when I applied the code.

any help is highly appreciated
http://dtlm.org.za/

another point is there a way to make the CTA open a popup insted of direct to a new page.
and make the background transparent.

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

3
  1. Andrew Misplon Staff 10 years, 16 days ago

    Hi Juvencio

    Thanks for reaching out.

    It looks like you’ve managed to center your CTA widgets such as “Keep Up With The Action”.

    You’d need a lightbox plugin before looking into using it with the CTA widget. Perhaps a plugin like: https://wordpress.org/plugins/lightbox-plus/. The problem with using a plugin like Lightbox Plus and the CTA widget is that if you check the usage instructions for this plugin you’ll see you need to add a rel tag to the link: rel=”lightbox” for example. Unfortunately, the CTA widget doesn’t have a rel field so at the moment I don’t see a way of doing this.

  2. xyz 10 years, 16 days ago

    Hi got the all sorted.

    /* Call to action align center content, remove borders & make background transparent on home-page */
    .home .sow-cta-wrapper .so-widget-sow-button {
      margin: 0 auto;
      float: none !important;
    }
    .home .sow-cta-wrapper .sow-cta-text {
      text-align: center;
      float: none !important;
    }
    .home .sow-cta-base {
      border-style: hidden;
      background-color: transparent !important;
    }

    and thanks for the Lightbox Plus tip.

  3. Andrew Misplon Staff 10 years, 16 days ago

    Awesome :) Really glad to hear you’ve made progress. Thanks for sharing.

    All the best.

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread