Skip to content
Public Ticket #6570

Remove H1 tag from LOGO

Conversation thread

MarketingCP replied

Customer Reply

Great support team.

Thank you for your help.

Penci Design replied

Staff Reply

Hi,

I checked on your site and add custom hook to change block quote  have style 1 

function penci_chiltheme_pre_atts_penci_blockquote( $out, $pairs, $atts, $shortcode ){
if( isset( $out['style'] ) ){
$out['style'] = 'style-1';
} return  $out;
}
add_filter( 'shortcode_atts_penci_blockquote', 'penci_chiltheme_pre_atts_penci_blockquote',10, 4 );

The code into function.php of childtheme.

Please check demo : https://news.residentialpeople.com/test/

https://news.commercialpeople.com/pennews-test/

Best Regards,

PenciDesign

Penci Design replied

Staff Reply

Hi,

Please send me your screenshot this issue. I will check it help you.

Best Regards,

PenciDesign

Penci Design replied

Staff Reply

Hi,

1/ i change h1 tag to div tag on from two of our websites  . I used child theme to change tag logo. 

Now, two site use child theme. After update theme and plugin data on customize and chiltheme not lose.

2/ I add custom css  block quote  style  on Customize > Addtional CSS:

blockquote.style-2 {
    position: relative;
    padding: 0 0 0 46px;
    border: none!important;
    overflow: hidden;
    margin: 0 0 20px;
    font-weight: 400;
    text-transform: none
}
blockquote.style-2,
blockquote.style-2 p {
    font-size: 16px;
    color: #888;
    font-style: italic;
    line-height: 1.7;
    text-align: left
} blockquote.style-2 cite,
blockquote.style-2 .author {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    margin-top: 7px;
    margin-bottom: 0;
    color: #3f51b5;
    font-style: normal;
    font-weight: 700;
    overflow: hidden;
    text-align: left;
    position: relative;
    z-index: 1
}
blockquote.style-2 .author span {
    position: relative;
    display: inline-block;
    padding: 0 10px 0 0
}

 you can change  style/font/colour to any you want.

3/ I check on your site, i saw it work fine. 

Logic related post is display posts that have category (not children of that category) of currently post. Each post on your site have many category.

Best Regards,

PenciDesign

Penci Design replied

Staff Reply

Hi,

Unfortunately, currently the theme has no option to remove H1s from the logo. If you want remove H1s from the logo. Please use child theme and modify "h1" tag to any tag you want.

Do you not want to use child themes?

Don't worry about this issue. After activating child theme all setup will not be lost.  You only need backup data customize before active child theme and import the data after active child theme.

Or send me your website management information ( admin url site, username and password ). I will remove H1s from the logo help you.

Best Regards,

PenciDesign

MarketingCP replied

Customer Reply

i've already placed the theme with my settings? wouldn't adding a child theme get rid of my format?

Penci Design replied

Staff Reply

Hi,

Please try use child theme of pennews 

Please install and active child theme of pennews  attachment. I  remove h1 from logo help you into pennews-child\\template-parts\\header\\logo.php file as screenshot http://prntscr.com/mbhgyd

Best Regards,

PenciDesign

MarketingCP replied

Customer Reply

Surely there must be a way around this?

Penci Design replied

Staff Reply

Hi,

Unfortunately, currently this theme doesn't support this feature.

Best Regards,

PenciDesign

MarketingCP started the conversation

Conversation Start

The logo is a h1 placed one every page - not good for SEO.

I'm extremely happy with this theme so far, please help me remove H1s from the logo.

Thanks,

Want to join this conversation or access attachments? Sign in first.