Home › Forums › Gravida Support › Gardening Theme
- This topic has 10 replies, 2 voices, and was last updated 7 years, 3 months ago by Sonl Sinha.
-
AuthorPosts
-
September 6, 2017 at 8:06 am #82518
Hi
ref dev site http://martingorse.co.uk/wordpress
please advise…
where can I change the H1 and H2 header font size and line spacing?
where can I change the header logo link destination (defaults to theme home page)thanks
September 6, 2017 at 10:33 am #82536Hi,
Kindly go to Appearance>>Customize>>Basic>>Scroll down to find Custom CSS and paste there:
h1, h1 a:link, h1 a:visited { font-size:28px !important; line-height:34px !important;}
Regards,
ChrisSeptember 6, 2017 at 10:36 am #82538thanks, and the second request?
where can I change the header logo link destination (defaults to theme home page)
September 6, 2017 at 10:57 am #82543Hi,
To change logo link kindly edit skt-gardening/templates/head-type1.php and search for logo.
Regards,
ChrisSeptember 6, 2017 at 11:14 am #82545sorry, where is this template editing page please? editor?
September 6, 2017 at 11:41 am #82548Hi,
kindly go to theme/skt-gardening/templates/head-type1.php and search for logo and change there.
Regards,
ChrisSeptember 6, 2017 at 11:53 am #82553found the code in editor
please advise where in the code I can change the link
<?php
/**
* Header layout 1 for SKT Gardening
*
* Displays The Header layout 1. This file is imported in header.php
*
* @package gardening
*
* @since gardening 1.0
*/
global $gardening;?><!–HEADER STARTS–>
<!–HEAD INFO AREA–>
<div class=”head-info-area”>
<div class=”center”>
<?php if(!dynamic_sidebar(‘headerleft’)) : ?>
<div class=”left”><span class=”phntp”><?php if (!empty ($gardening[‘phntp_text_id’])) { ?><?php $phntp = html_entity_decode($gardening[‘phntp_text_id’]); $phntp = stripslashes($phntp); echo do_shortcode($phntp); ?><?php } ?></span> <span class=”emltp”><?php if (!empty ($gardening[’emltp_text’])) { ?><?php $emltp = html_entity_decode($gardening[’emltp_text’]); $emltp = stripslashes($emltp); echo do_shortcode($emltp); ?><?php } ?></span></div><?php endif; ?>
<?php if(!dynamic_sidebar(‘headerright’)) : ?>
<div class=”right”><span class=”sintp”><?php if (!empty ($gardening[‘sintp_text’])) { ?><?php $sintp = html_entity_decode($gardening[‘sintp_text’]); $sintp = stripslashes($sintp); echo do_shortcode($sintp); ?><?php } ?></span><?php if (!empty ($gardening[‘suptp_text’])) { ?><?php $suptp = html_entity_decode($gardening[‘suptp_text’]); $suptp = stripslashes($suptp); echo do_shortcode($suptp); ?><?php } ?></div><?php endif; ?>
<div class=”clear”></div>
</div>
</div>
<div class=”header type1″>
<div class=”center”>
<div class=”head_inner”>
<!–LOGO START–>
<div class=”logo”>
<?php if(!empty($gardening[‘logo_image_id’][‘url’])){ ?>
” href=”<?php echo esc_url( home_url( ‘/’ ) ); ?>”>” />
<span class=”desc”><?php echo bloginfo(‘description’); ?></span>
<?php }else{ ?>
<?php if ( is_home() ) { ?>
<h1>“><?php bloginfo(‘name’); ?></h1>
<span class=”desc”><?php echo bloginfo(‘description’); ?></span>
<?php }else{ ?>
<h2>“><?php bloginfo(‘name’); ?></h2>
<span class=”desc”><?php echo bloginfo(‘description’); ?></span>
<?php } ?><?php } ?>
</div>
<!–LOGO END–>
<!–MENU START–>
<!–MOBILE MENU START–>
<i class=”fa-bars”></i>
<!–MOBILE MENU END–>
<div id=”topmenu” class=”<?php if (‘header’ == $gardening[‘social_bookmark_pos’] ) { ?> has_bookmark<?php } ?>”>
<?php wp_nav_menu( array( ‘container_class’ => ‘menu-header’, ‘theme_location’ => ‘primary’ ) ); ?>
</div>
<!–MENU END–></div>
</div>
</div>
<!–HEADER ENDS–>September 7, 2017 at 7:28 am #82598please reply, thanks
September 7, 2017 at 9:59 am #82661Hi,
No, kindly go to theme folder/skt-gardening folder/templates folder/head-type1.php and search for logo and change there.
Regards,
ChrisSeptember 7, 2017 at 10:00 am #82662already done that, see previous. where’s the link in this code? thanks
September 7, 2017 at 10:33 am #82671Okay
-
AuthorPosts
- You must be logged in to reply to this topic.