• Resolved Bluelight

    (@bluelight)


    First I want to say how wonderful it is to see a curved theme! Thank you!
    I have two questions
    1) how do I place text on the banner like the demo?
    2) how can I change the fonts for Title/tag line/menu…as I see two different demos with two different fonts?

    Thanks in advance

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Shaped Pixels

    (@shaped-pixels)

    You are very welcome. I got tired of seeing everything so boxy.

    The text on the banner is actually added to the image from an image program. Most image programs will let you add text, so if you have one, you can do that too. Otherwise you can check out the various sliders available that lets you add text or other elements that float on top of the image(s).

    The default styling for the site title uses a Google font called Playfair Display and is part of the default styling:

    .site-title {
        font: italic 2.625rem/1.1 "Playfair Display", Georgia, serif;
    }

    To change it, or other fonts, it’s usually best to use a font plugin that lets you do just that. If you are wanting to use a font that is standard on Windows and MAC’s, then you can simply use CSS to change it like you see in the code above without the need of a font plugin.

    This will be the same for anything that uses a font.

    Headings….you would apply the custom font family (such as Arial, Helvetica, etc) to this:

    h1, h2, h3, h4, h5, h6 {
        margin: 16px 0;
        font-family: "Playfair Display", Georgia, Serif;
        font-weight: 400;
        font-style: italic;
        line-height: 1.1;
    }

    The Tagline:

    .site-description {
        display: inline-block;
        position: relative;
        font-family: "Open Sans",sans-serif;
        font-size: 0.875rem;
        color: #828282;
        border-left: 1px solid #ccc;
        margin-left: 10px;
        padding-left: 10px;
        line-height: 2;
        top: 3px;
        bottom: 3px;
    }

    If you are making CSS changes, it will depend on the font plugin as some offer a lot of features while others are limited. But if you need to do something more with customizing fonts, then add your custom CSS using a plugin like Simple Custom CSS. If you use Jetpack, then you can use its Edit CSS feature.

    This allows you to keep getting theme updates without losing your changes.

    Thread Starter Bluelight

    (@bluelight)

    Wow! Thank you so much for such a prompt reply, I’m very grateful and impressed.
    I’ve been digesting your response and started implemented some changes.
    I’ve used photoshop to add text to my banner image and will keep in mind the slider option for the future.

    I’ve also installed Google fonts and have managed to make changes to the header/tag line and menu fonts as well as some in the call out section, using the CSS section of the plugin, so I gather that those changes will not be affected with Theme or WP updates.
    I’ve got lots more to explore, just started today.
    What a beautiful theme you have created. Thank you again.

    Theme Author Shaped Pixels

    (@shaped-pixels)

    You’re very welcome ??
    Also, thanks for the great comments about my theme….feel free to do a review…hint hint! lol, actually not really required.

    Anyway, what is important is that you are enjoying the theme and finding the solutions to help you through the setup of your website. As for any changes you do through any kind of plugin, such as fonts, or custom CSS via a plugin, you will be OK when there are theme updates because they are not part of the theme.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to place text on the banner and change fonts?’ is closed to new replies.