Site logo

Archived topic

3rd Party Button Text Size

11 replies · Started by Suman on March 27, 2023

Viewing posts 1–12 of 12

I am currently using affiliatables plugin but I am unable to change the button text to bold after adding it to the website.

Is there any option to edit it using CSS?

https://prnt.sc/ZmRxcj3cnWID

Hi there,

try this:

.cg-aff-link {
    font-weight: 700;
}

or for Black ( extra bold ):

.cg-aff-link {
    font-weight: 900;
}

Thank you David for your reply.

I tried applying it but it's changing the layout of the text as well.

I only want to apply it to the button.

David's CSS only applies to the button in your screenshot with the class cg-aff-link.

It should not change other text.

I used the Simple CSS plugin to use the code. Am I doing it right? Is there any other step involved?

Can you try adding it to customizer > additional CSS?

Yes, I tried adding it but unfortunately it's not working.

Can you try changing the CSS to this?

.cta-copy .cg-btn.cg-aff-link {
    font-weight: 900 !important;
}

It worked. Thank you very much. Is it possible to increase the font size of the button as well?

Try:

.cta-copy .cg-btn.cg-aff-link {
    font-weight: 900 !important;
    font-size: 40px;
}z

Thank you David and Ying. It worked.

Glad to hear that!

This archived topic is closed to new replies.