Change color of border & font in pop-up title

Hi there,   

I am currently using this shortcode on my page (localhost right now): 
[popup title="Title" padding="0" button="0"]Insert your popup content here[/popup]
This creates a button with the background color I like (same as the background it's placed on, or maybe it's transparent) but with dark grey text and dark grey button outline. I would like to change the text and button outline to white, to match the other buttons on the page. Is there any css or other method for achieving this? I searched the forum here, but was only able to find css that would change the background color of the button, which I do not want to do. 

Thanks for any assistance! 

Comments

  • Hi,
    You can set the styles of the popup in theme options>addons&plugins>addons pretty photo section.
    IF this is not enough you will have to use custom css.
    We can write you custom CSS but we have to see your site so please write to us when it is online. thanks
  • Thanks for your response, I appreciate it. Unfortunately changing the pretty photo styles does not seem to affect how my button appears. 

    To be clear, I have two buttons on the page, and I want them both to look like the white one in the image below:

    image




    Here is the current shortcode for the grey one:
    [popup title="Do you have money?" padding="0" button="1" ][contact-form-7 id="6" title="Contact form 1"][/popup]


    Can you advise how to alter the shortcode or offer some CSS to change the font and border to white?



    If you are wondering, the white button is a different type of button, using this shortcode:
    [button title="Do you have money?"  link="#" color="#fff" font_color="#fff" large="1"]
  • Hi,
    We will need a link to your page. Also, send us a screenshot describing exactly what you want to change.
    thanks
  • Hi there, my page is now live: http://seriouslyunprepared.com/

    You can find the button at the very bottom of the page. Right now, the button outline and text are grey. I would like them to be white. 

    Thanks for any assistance you can provide.
  • You would have to add a custom class in edit option for this section so I can target this specific button. If I would write css now all of the buttons will change.
  • Thanks for your reply. I am new to this--can you help me understand how and what to add for the custom class? 
  • Yes just edit the section in the muffin builder, you will find a field there called custom class. Just type something like my-class and save.
    It will be visible in the HTML code and I will use it to target the button.

  • Thanks! I have added the custom class "button-class" to that section. 
  • Use this css 
    .button-class  a.button {
    border-color:white !important;
    color:white !important;
    }
  • This worked great. Thank you for the help, I truly appreciate it!
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.