Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1156405
    pcnordhaug
    Participant

    Hi There! I use a different font for the navbar than in the body text. But the sub menu still uses the same font as for the body text.

    I therefor use this code to change this;

    .x-navbar .sub-menu {
      font-family: Adelle;
    }

    This workes great – but have no effect on the mobile view. Is there a line of code that will work on mobile too?

    #1156406
    Rue Nel
    Moderator

    Hello There,

    Thanks for writing in! To resolve your issue, please use this code instead:

    .x-navbar .desktop .sub-menu,
    .x-navbar .mobile .sub-menu {
      font-family: Adelle;
    }

    Just make sure that Adelle font is loaded properly. Hope this helps you.
    Please let us know how it goes.

    #1156414
    pcnordhaug
    Participant

    Fantastic – that worked out great! Thanx:)

    Great response time as always guys!

    Just a quick question regarding font on the mobile;

    I have also changed the font for the body text to a one from TypeKit. This works great. It also works just fine for the search result on the desktop. But on the mobile the font are displayed as a Times (looks like that). Why? Strange because it´s right on the desktop.

    It´s the text that says “Below you see all we could find on your search for…”

    #1156416
    Rue Nel
    Moderator

    Hello There,

    Thanks for the updates! To assist you better with this issue, would you mind providing us the url of your site with login credentials, if necessary, so we can take a closer look? This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    To do this, you can make a post with the following info:
    – Link to your site

    – WordPress Admin username / password (only if necessary)

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thank you.

    #1156423
    pcnordhaug
    Participant
    This reply has been marked as private.
    #1156427
    Lely
    Moderator

    Hi There,

    Thank you for the URL. Unfortunately, I am not sure on which page and section the issue exist since the site is not in English. Would you mind giving us detailed description?

    #1156512
    pcnordhaug
    Participant
    This reply has been marked as private.
    #1156535
    Rue Nel
    Moderator

    Hello There,

    Every time I do a search in your site, I will only have this page: http://prntscr.com/ccu0yc
    I cannot even go to other pages. To assist you better with this issue, would you mind providing us the url of your site with login credentials, so we can take a closer look? This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    To do this, you can make a post with the following info:
    – Link to your site

    – WordPress Admin username / password

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thank you.

    #1156673
    pcnordhaug
    Participant
    This reply has been marked as private.
    #1156720
    Paul R
    Moderator

    Hi,

    The login provided above doesn’t seem to work.

    Kindly check again and let us know.

    Thanks

    #1158051
    pcnordhaug
    Participant
    This reply has been marked as private.
    #1158086
    Paul R
    Moderator

    Hi,

    Plesae make sure mobile is enabled.

    Then add this in Custom > Edit Global CSS in the Customizer.

    
    .search-results .p-landmark-sub {
        font-family: "museo-sans",sans-serif !important;
    }
    

    Hope that helps

    #1158117
    pcnordhaug
    Participant

    Doesn´t seem to help.

    I added the code in the style.css in the child theme. Think it´s better to have all changes there istead of som in the cutomizer. But is this the reason that it didn´t work? Cant be it right?

    As i wrote this just happens on the mobile view. Not on desktop. And yes, mobile is enabled in typekit.

    By the way, the same thing is the case for the “Post Meta” font. But this isn´t a problem for me as i dont have this on…

    If trying another font in the code over that doesn´t seem to work either. Still the font i have choosen for the bode on desktop and times on mobile…

    #1158175
    Rad
    Moderator

    Hi there,

    It should work, please change it to this

    .search-results .p-landmark-sub,
    .search-no-results .p-landmark-sub {
        font-family: "museo-sans",sans-serif !important;
    }

    I just tried that.

    Thanks!

    #1158180
    pcnordhaug
    Participant

    Right there!

    Thanx!

    A lot!

    That worked!

    World class support ass always 🙂

  • <script> jQuery(function($){ $("#no-reply-1156405 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>