Tab title font

This topic contains 7 replies, has 2 voices, and was last updated by  ab-themes 7 years, 10 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #16982

    DeMiNe0
    Participant

    Hi there.

    I’m trying to setup tabs on a new page that look like the ones on the elements demo. However when I use the creator to place a new tab box on the page, the font for the tab titles ends up being times new roman or something.

    I’m trying to get it to look like this:
    http://i.imgur.com/JU4H4WQ.png

    However, it’s looking like this:
    http://i.imgur.com/ARE5EaC.png

    How do I go about changing the font of that title?

    #16988

    ab-themes
    Keymaster

    Hello,

    can you please send us the link from your site so that we can see what is going on.
    Just type it in the private content bellow, that way only we can see it.
    Thank you.

    #16998

    DeMiNe0
    Participant

    Sure. Info is below.

    #17001

    DeMiNe0
    Participant

    I copied my entire dev site over to the main site to see why the CSS wasn’t loading correctly for the tab box. After cloning the site, It still had the same exact issue. The only difference being that the site was now on https. So I went into my configuration for my site and removed the strict security headers and enabled plain port 80 http.

    Now take a look at the tab box on the front page on http, compared to HTTPS. It looks to me like the CSS isn’t being applied when the site is loaded in https. Perhaps the browser is blocking the css from loading because it’s being loaded http?

    http://www.pressz2poop.com vs https://www.pressz2poop.com.

    #17002

    DeMiNe0
    Participant

    Looking a little more closely, it’s actually more than just the tab boxes. The <h>header font is off too.

    #17003

    DeMiNe0
    Participant

    It looks like http://fonts.googleapis.com/css?family=Lato%3A300%2C400%2C400italic%2C700%2C900&ver=4.5.2 is being called in the http version but not in the https version.

    #17020

    DeMiNe0
    Participant

    Any progress on this?

    #17026

    ab-themes
    Keymaster

    Hi,

    this should fix the issue:
    – go to wp-content\themes\vozx\functions.php file
    – find this line of code: wp_enqueue_style('ABdev_font_css','http://fonts.googleapis.com/css?family=Lato:300,400,400italic,700,900');
    – change it to wp_enqueue_style('ABdev_font_css','https://fonts.googleapis.com/css?family=Lato:300,400,400italic,700,900');

    This will work on https version.
    Please, be sure that you have cleared your cache after the change.

    Best Regards.

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Tab title font’ is closed to new replies.