• Resolved leokoltm

    (@leokoltm)


    Hi! Tracks – the best theme ! Not podskazhitelegky way to change all fonts site in Ubuntu. Now to use this plugin , but would like to change the code . What can you add to the Custom CSS?

Viewing 13 replies - 1 through 13 (of 13 total)
  • Theme Author Ben Sibley

    (@bensibley)

    I’m sorry I don’t understand the question. Are you already using a plugin to change the font? If not, I recommend Easy Google Fonts.

    Thread Starter leokoltm

    (@leokoltm)

    Oh, no… excuse for my English! I ask as it is possible to change without plug-in a font in your template

    Thread Starter leokoltm

    (@leokoltm)

    And one more. I added area of widgets on the homepage of macpost.ru. Two columns in the browser of a desktop look well, in Safari on iPad too it is good. But on the iPhone screen it is visible that widgets and articles mixed up. What shall I do?

    Theme Author Ben Sibley

    (@bensibley)

    No worries, I understand now ??

    Yes, you can change the font with your child theme instead of a plugin. There are two steps.

    First, you need to load the font files. You can see how Tracks does this in the scripts.php file on line 7. You can add a function just like that to your child theme’s functions.php file to enqueue a font from Google Fonts. It is possible to add fonts outside of Google Fonts as well, but it is easiest to use one they provide.

    The second step is to use CSS to tell the browser which site elements should use the new font. You can change the font for the whole site like this:

    body {
      font-family: "new font", sans-serif;
    }

    That would make your whole site use the “new font”, and fall-back to a default sans-serif font in case it doesn’t load or there’s an error.

    Theme Author Ben Sibley

    (@bensibley)

    Oh and for the widgets:

    Do you want the widgets hidden for mobile devices, or is there an issue with the layout?

    Thread Starter leokoltm

    (@leokoltm)

    I want that widgets became one over another on the smartphone screen

    Theme Author Ben Sibley

    (@bensibley)

    Okay this may take a few steps, but we can fix it.

    When looking at the site, I found there is an error with the HTML. The element containing the widget areas, <div align="center">, also contains the rest of the blog posts after it: https://pics.competethemes.com/image/2e2E0p2v3Z2j

    I believe there is a missing closing div tag: </div>. Try fixing that, and the layout may correct itself with this change.

    Thread Starter leokoltm

    (@leokoltm)

    I added . Now widgets don’t cross posts, but cross each other

    Thread Starter leokoltm

    (@leokoltm)

    I changed the mind about widgets. I will remain without them. But I will be grateful if you realize such opportunity in settings of a subject in future updatings. Instead of a saydbar. Thanks, Ben!

    Theme Author Ben Sibley

    (@bensibley)

    Okay will do! Let me know if you decide to give it another shot, and I’ll be happy to help.

    Thread Starter leokoltm

    (@leokoltm)

    Hi!I do not have the plug- TouchCarousel. Do you know why? jquery?

    Thread Starter leokoltm

    (@leokoltm)

    Hi!I do not have the plug-in TouchCarousel, when inserting the shortcode in the widget footer. Do you know why?

    Theme Author Ben Sibley

    (@bensibley)

    Does the TouchCarousel have its own widget? Shortcodes won’t run by default when inserted in text widgets.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Fonts’ is closed to new replies.