Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1055876
    TomasJarvling
    Participant

    Hi.
    On this site: test.nmuab.se we would like to change the background color of the navbar/header and also the footer to #00231f

    How do we do this?

    Tomas

    #1055881
    TomasJarvling
    Participant

    And one more thing. We got an error message when using a Google map (see the attached picture)

    #1056037
    Lely
    Moderator

    Hi Tomas,

    Please use the following CSS. Add it on Appearance > Customize > Custom > Edit Global CSS:

    .x-navbar, .x-colophon {
        background-color: #00231f;
    }

    Regarding google map, please do share your page URL so we can investigate further.

    #1056131
    TomasJarvling
    Participant

    Please take a look at this: http://test.nmuab.se/kontakt/

    Tomas

    #1056255
    Joao
    Moderator

    Hi There,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

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

    Thanks

    Joao

    #1057702
    TomasJarvling
    Participant

    Hi. Did you get a chance to look at the Google maps problem?

    #1057719
    Rad
    Moderator

    Hi there,

    Yes, it’s due to this error,

    js?ver=4.5.3:32 Google Maps API error: MissingKeyMapError

    We can only check that if we’re able to login.

    Thanks!

    #1058524
    TomasJarvling
    Participant
    This reply has been marked as private.
    #1058871
    Rad
    Moderator

    Hi Tomas,

    Looks like google strictly implement API key now. Please check this other thread, https://community.theme.co/forums/topic/this-page-didnt-load-google-maps-correctly-see-the-javascript-console/

    Thanks!

    #1060963
    TomasJarvling
    Participant

    Ok.
    I have an API Key. Should i update this file:
    Hi there,

    You may directly edit this file, for now, \wp-content\plugins\cornerstone\includes\shortcodes\google-map.php

    Then add your API Key like this,

    wp_register_script( ‘vendor-google-maps’, ‘https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY’ );

    Cheers!

    And where in the code should I place this?

    Tomas

    #1060965
    TomasJarvling
    Participant

    Or is it possible to place this script somewhere: <script async defer src=”https://maps.googleapis.com/maps/api/js?key=AIzaSyA086UJ7_16X_vgF3PPB-hXsg4aVco8Oqc&callback=initMap&#8221;
      type=”text/javascript”></script>

    Tomas

    #1060971
    Christopher
    Moderator

    Hi there,

    Please update this line :

    wp_register_script( 'vendor-google-maps', 'https://maps.googleapis.com/maps/api/js' );

    To :

    wp_register_script( 'vendor-google-maps', 'https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY' );

    Hope it helps.

    #1061084
    TomasJarvling
    Participant

    Worked perfectly.
    I would like to have the map cover the entire background and not have the gray “container” area around. Is that possible.
    Take a look at this page: http://test.nmuab.se/kontakt/

    #1061108
    Christian
    Moderator

    Yes. Please disable Column Container option of your Row containing the Map (see attachment).

    Thanks.

    #1061157
    TomasJarvling
    Participant

    Ahh. Easy.
    Although, on this page: http://test.nmuab.se/kontakt/
    I would like to get rid of the little grey area beneath the map. Is that possible?

    Tomas

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