• Resolved jb0591

    (@jb0591)


    Hi

    I notice the plug-in doesnt use the default font, how can I adjust all the text in a poll using CSS?

    • This topic was modified 4 years, 4 months ago by jb0591.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Ays Pro

    (@ays-pro)

    Hi Dear @jb0591,

    Thank you for the topic.

    Please copy the following CSS and paste it into the Custom CSS field of the given poll. ( Poll Maker -> Polls -> the given poll -> Styles tab -> Custom CSS)
    Please note to change the “YOUR_POLL_ID” to the given poll ID of yours.
    Also, do not forget to set the URL of the corresponding font via CDN or another way(for instance via Google Fonts). Change the “YOUR_FONT_NAME” and format() as well.

    @font-face {
    font-family: ‘YOUR_FONT_NAME’;
    src: url(‘https://cdn.jsdelivr.net/gh/projectnoonnu/[email protected]/NEXON Lv2 Gothic.woff’) format(‘woff’);
    font-weight: normal;
    font-style: normal;
    }
    #ays-poll-container-YOUR_POLL_ID .ays-share-btn,
    #ays-poll-container-YOUR_POLL_ID .ays-share-btn-icon,
    #ays-poll-container-YOUR_POLL_ID [id*=’ays_loginform’] input[type=’submit’],
    #ays-poll-container-YOUR_POLL_ID input[type=’button’].ays-poll-btn,
    #ays-poll-container-YOUR_POLL_ID input,
    #ays-poll-container-YOUR_POLL_ID span,
    #ays-poll-container-YOUR_POLL_ID p,
    #ays-poll-container-YOUR_POLL_ID div,
    #ays-poll-container-YOUR_POLL_ID h2,
    #ays-poll-container-YOUR_POLL_ID h3,
    #ays-poll-container-YOUR_POLL_ID h4,
    #ays-poll-container-YOUR_POLL_ID h5{
    font-family: ‘YOUR_FONT_NAME’;
    }

    Thanks.

    I have tried the above and while it works for the Title of my poll and for the answers, it is not working for my question.

    The question is in a H3 tag, which the above code should cover but it’s not. Any advice?

    Plugin Author Ays Pro

    (@ays-pro)

    Hi Dear @emmabadame ,

    Thank you for your comment.

    Can you please send us the link where the given poll is located in?

    Thanks in advance.

    The poll isn’t live yet but I’ve dropped a test poll in an old article for you to see what I mean. You can find it here at the bottom of the piece:

    https://thatshelf.com/a-rendezvous-with-madness-highlights-from-the-2020-festival/

    The font we want it to be is Georgia.

    Plugin Author Ays Pro

    (@ays-pro)

    Thank you for your reply, Dear @emmabadame.

    Please copy the following CSS and paste it into the Custom CSS field of the given poll. ( Poll Maker -> Polls -> the given poll-> Styles tab -> Custom CSS )

    Please note you change the YOUR_Poll_ID to your given poll ID. (note to not delete the space after it)

    
    #ays-poll-container-YOUR_POLL_ID form .ays_question * {
    font-family: georgia !important;
    }
    

    Thanks.

    Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Change default font’ is closed to new replies.