Black Friday Sale! Get up to $40 off GP Premium!Learn more

[Resolved] Font change to archive drop down menu

Home Forums Support Font change to archive drop down menu

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #166685
    Tony

    Is the ‘Archive’ widget part of the GeneratePress theme?
    I would like to change the font used in the drop down menu – everything else is sans serif and it is serif and looks too big.

    #166719
    Tony

    Doing some digging it looks like the function is in WP and the archive drop down and search box use the body font – maybe by default?

    If I could add a specific class to each of these items could I then define it in simple css and use a different font for them?

    If this is a WP function then I understand it’s not for you to support but if you know the answer I’ll be grateful.

    It’s frustrating trying to get all the fonts matched throughout – I may just give in and use a sans font in the body.

    #166766
    Tom
    Lead Developer
    Lead Developer

    Hi Tony,

    It is a core WP widget, but the font should be pulled from whatever you applied to .widget in the other post.

    Is that not working?

    #166779
    Tony

    Thanks for getting back to me.

    I already have this in simple css
    .widget {
    font-family: Droid-Serif;
    }

    It doesn’t affect the search box or the archive drop down. They follow the body font as set in the configure option.

    I know because I changed the font and they changed too.

    I managed to fix it in the subscribe button and even changed the size of the button.

    I’ve tried to find the code in the php files, adding a class and setting up a new class in style.css and simple css but I’m just guessing at it. (I know that changing the style file is not the way to go)

    These seem to be an issue wherever you look but without resolutions. Maybe if you figure out the solution you can add it to the add-ons.

    Simplest solution is to use a sans-serif font in body which is what I’m going to do but…….

    #166844
    Tom
    Lead Developer
    Lead Developer

    What if you did this:

    .widget,
    .widget select,
    .widget input {
        font-family: Droid Serif;
    }
    #166875
    Tony

    That works – thank you.

    I think it would be a good idea, and save a lot of support questions if you could either add more customisation options into the product or create an faq with all of the ones you’ve provided to users. I’m sure I’m not the only person who wants to customise the look and feel.

    #167002
    Tom
    Lead Developer
    Lead Developer

    Hi Tony,

    It’s almost impossible to add every individual option that users will come up with – if I did, the Customizer would be terribly bloated and slow.

    There’s hundreds of options in there, but when someone wants something unique like a different font in select boxes in the widgets, I’m here in the forum to help out with some CSS 🙂

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.