Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1330455
    jkrueger635
    Participant

    I currently utilize some css and this code in my child functions.php:

    function ph_besides_logo() {
    $logo_nav_layout = x_get_logo_navigation_layout();
    if ( $logo_nav_layout == ‘stacked’ ) {
    echo ‘<h3 class=”logo_with_text”>Call a Senior Living Advisor</br>402-884-7644</br>12301 N 149th Cir | Bennington, NE 68007</h3>’;

    To achieve the logo with text you see at http://www.ridgewoodretirementcommunities.com
    How would I change just the font for just the “Call a Senior Living Advisor” I have already imported the font and utilize it within style on various elements. I’m just stumped on how to do it in the header. Thanks.

    #1330456
    jkrueger635
    Participant
    #1330594
    Christopher
    Moderator

    Hi there,

    Please update this line to :

    <h3 class="logo_with_text">Call a Senior Living Advisor</br>402-884-7644</br>12301 N 149th Cir | Bennington, NE 68007</h3>

    To :

    <h3 class="logo_with_text"><span style="font-family:cursive;">Call a Senior Living Advisor</span></br>402-884-7644</br>12301 N 149th Cir | Bennington, NE 68007</h3>

    Hope it helps.

    #1330761
    jkrueger635
    Participant

    Tried that but it crashes the editor (blank screen) so I have to FTP in and edit back the functions.php. The font family is ‘Great Vibes’ and it does need to be in cursive. Knowing that what should the code look like?

    #1330772
    jkrueger635
    Participant

    This is the code I tried btw:

    <h3 class=”logo_with_text”><span style=”font-family: ‘Great Vibes’, cursive;”>Call a Senior Living Advisor</span></br>402-884-7644</br>12301 N 149th Cir | Bennington, NE 68007</h3>

    #1330942
    Rupok
    Member

    Hi there,

    This simple HTML should not cause any error to break the site. You can enable debug to see what’s causing the error. You can do this by opening wp-config.php and adding
    define( 'WP_DEBUG' , true ); just above /* That's all, stop editing! Happy blogging. */ For example:

    define('WP_DEBUG', true);

    /* That’s all, stop editing! Happy blogging. */`

    When you revisit the page with the white screen, you should have some error output describing the issue in more detail.

    #1331042
    jkrueger635
    Participant

    So the code I gave you was correct?

    <h3 class=”logo_with_text”><span style=”font-family: ‘Great Vibes’, cursive;”>Call a Senior Living Advisor</span></br>402-884-7644</br>12301 N 149th Cir | Bennington, NE 68007</h3>

    #1331452
    Christopher
    Moderator

    Hi there,

    The code is correct, please make sure to use normal quotes instead of pretty quotes.

    Thanks.

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