Viewing 7 replies - 1 through 7 (of 7 total)
  • Hey there,

    You can achieve what you are after by adding below Custom CSS to your theme using Advanced CSS Editor plugin.

    h1.site-title {
        white-space: nowrap;
    }

    As for the tag line, it should be possible but would be much complex to accomplish. Still, let us know to which page/link you wish to link it to. Hope it helps.

    Theme Author Andrew Misplon

    (@misplon)

    Hi @barbaraji

    Thanks for giving Ultra a try. Let’s adjust the proportions of the header a little and allow the site title a bit more space. Here is the CSS snippet we can use:

    /* Header */
    .site-header .site-branding-container {
        max-width: 41%;
    }
    
    .main-navigation {
        max-width: 59%;
    }

    If you don’t yet have a Custom CSS plugin installed, please, head over to Plugins > Add New and use the top right search field to search for: Simple Custom CSS. Install, activate, then go to Appearance > Custom CSS and insert the above snippet.

    Hope that helps ?? Let me know how it goes.

    Theme Author Andrew Misplon

    (@misplon)

    We’ll need to use a child theme to link the site description/tagline. I’ve prepared one for you here that accomplishes this task. Here is how to use it:

    1. Download the following ZIP file to your desktop: https://purothemes.com/wp-content/uploads/2016/05/ultra-child-link-site-description.zip

    2. Go to Appearance > Themes > Add New > Upload Theme and upload the child theme, then activate.

    3. In this case, activating the child will cause your menu location settings to reset, please, go to Appearance > Menus > Menu Locations and redo your location settings.

    Hope that helps ??

    Thread Starter barbaraji

    (@barbaraji)

    Andrew, you rock!! OMG can’t believe how awesome you guys are. Thank you!

    guys please help
    want to remove top featured image from post

    <?php
    /**
    * The template for displaying posts for the Default Post Format
    *
    * @package CPMmagz
    *
    */
    ?>
    <?php
    //Get the alt and title of the image
    global $post;
    $post_thumbnail_id = get_post_thumbnail_id($post->ID);
    $attachment = get_post($post_thumbnail_id);
    if (! is_single()) {
    if (has_post_thumbnail()) :
    // If the post has thumbnail
    $image_id = get_post_thumbnail_id();
    $image_url = wp_get_attachment_image_src($image_id, ‘full’);
    $image_url1 = esc_url($image_url[0]);
    ?>

    <div class=”card-image valign-wrapper” style=”background-image: url(‘<?php echo esc_url( $image_url1 ); ?>’);” title=”<?php echo esc_attr($attachment->post_title); ?>” alt=”<?php echo esc_attr(get_post_meta($attachment->ID, ‘_wp_attachment_image_alt’, true));?>”>
    ” class=”fulla”>
    <span class=”card-title”><i class=”fa fa-pencil”></i></span>
    </div>

    <?php else : ?>
    <!– If the Post doesnot have any thumbnail –>
    <div class=”no-image card-image valign-wrapper”>
    ” class=”card-title”><i class=”fa fa-pencil”></i>
    </div>
    <?php endif;?>

    <?php } else {
    if (has_post_thumbnail($post->ID)):
    // If the post has thumbnail
    $image_id = get_post_thumbnail_id();
    $image_url = wp_get_attachment_image_src($image_id, ‘full’);
    $image_url1 = esc_url($image_url[0]);
    ?>

    <!– If the page is single display this block. –>
    <div class=”card-image valign-wrapper” style=”background-image: url(‘<?php echo esc_url( $image_url1 );?>’);”>
    <span class=”card-title”><i class=”fa fa-pencil”></i></span>
    </div>
    <?php else : ?>

    <!– If the Post doesnot have any thumbnail –>
    <div class=”no-image card-image valign-wrapper”>
    ” class=”card-title”><i class=”fa fa-pencil”></i>
    </div>
    <?php endif; ?>

    <?php } ?>

    Theme Author Andrew Misplon

    (@misplon)

    Hi @yashwantb

    It looks like you’re using the following theme: https://en-za.www.ads-software.com/themes/cpmmagz/. Please, post this question on the support forum for CPMmagz. Hopefully, the author can assist.

    Theme Author Andrew Misplon

    (@misplon)

    Hi @barbaraji

    Super ?? Really glad I could help out. All the best with your site.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How Do I Fix Header Title?’ is closed to new replies.