Okay
  Public Ticket #2188944
Customs font option
Closed

Comments

  • Mark started the conversation

    Hi


    I noticed in the update that there is an option under settings for a Custom Font...

    just wondering is that for the paragraph font or how does it work? I was thinking to upload a font and use as the font for text (not headings, already have a custom font there).

    can I do it this way?

    cheers again!

    Mark

  • Mark replied

    Sorry, I have one other problem and thought I will just ask here instead of opening another ticket


    My buttons in the store are a little off and I don't really know where I can change this so was hoping you maybe could give me some additional css so I could play with it?

    Buttons in the store look like this. I would like the "off mouse" button to be white with a black border, and the "on mouse/click" button to be black with white text.


    thanks again!

  •  675
    Neuron replied

    Hi Mark,

    I am very sorry for the late reply, we were not working on the weekend.

    1) Well, you can do it on two ways, if you plan to use it on the text editor element. On the body text select the custom font.

    1. Tick on the left setting. https://prnt.sc/pm4hpq
    2. Tick on the left top hamburger. https://prnt.sc/pm4i3h
    3. Tick on the default fonts. https://prnt.sc/pm4i8z

    2) Sure, this is the selector.

    .woocommerce div.product form.cart .button {
        background-color: your_color !important;     border-color: your_color !important;     color: your_color !important;
    }

    For the hover.

    .woocommerce div.product form.cart .button:hover {
        background-color: your_color !important;
        border-color: your_color !important;
        color: your_color !important;
    }

    Feel free to ask for anything you need.

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  • Mark replied

    Hi mate

    thats no problem! You have lives of course hehe. I wasn't expecting a reply until this week anyway :)

    Thanks for the reply!

    About the custom font. Yeah I tried that but since it doesn't change the font for example the blog it doesn't really do what I'd like. I'd like to be able to change the base font for all normal text (i.e. not headings etc, but just the font used in text) If it's just too much of a big ask, then I'm ok to leave things as they are :)


    Thanks also for the additional css :) but I can't seem to get it to change the style of the button when I add it in. any ideas mate?

    cheers!

  •  675
    Neuron replied

    Hi Mark,

    Thanks for the understanding, highly appreciatedsmile.png

    1) If you want to change only body and paragraph text, then simply add the following style in Appearance > Customize > Additional CSS.

    body {
        font-family: 'Your Family';
    }

    2) Hmm, is that the standard button or any third-party plugin button? Can you please provide me with an URL of that product, so I'll be able to see why it was not working.

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  •   Mark replied privately
  •  675
    Neuron replied

    Hi Mark,

    1) Have you tried the option in Typography? It changes in theme paragraphs color, it's the secondary typography on Appearance > Customize > Typography, please try that and let me know if that fits for you.

    2) The lines seems to work alright for me.

    .woocommerce div.product form.cart .button {
      background-color: #fff !important;
    } .woocommerce div.product form.cart .button:hover {
      background-color: #000 !important;
      color: #fff !important;
    }
    2463357205.png

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  • Mark replied

    Thanks a lot! :D 

    That worked perfectly. Don't know why it didn't work before hehe...

    I didn't think a little head though and I noticed all the other buttons, like "View Basket" etc are the black with black text etc. Can I use the css you gave me to fix those other buttons too?




  •  675
    Neuron replied

    Hi,

    Good to know, feel free to ask for anything you needsmile.png

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.