I am desperately trying to remove the SIMPLEKEY button and scroll back to Top from my site (it appeared probably because of a mistake I made). I tried ot enter several CSS codes (as seen on internet) but without success so far.
Thanks
Which theme are you using? you can send me your site URL for further checking.
My website can be found at http://www.nicolasgenty.com
I have checked your site and see that the Simplekey is the logo section of the site, you can add the following code to the style.css file to remove it.
h1#site-logo, h1#site-logo a { display: none;}
I have tried but it does not work
You can send me username & password of your site, I will help you resolve it now.
In that case, i’d rather to this off line. I am not going to share my password here. Can you contact me directly with your email?
In this case, you can open the header.php file and find the following code to remove it:
<pre><h1 class="site-logo"></h1></pre>
i am afraid i don’t know how tonopen the header.php file under WP
You can log into Dashboard > Appearance > Editor > and find this file in the right hand side.
Here is the content of the said file:
<?php
ob_start();
global $VAN;
?>
<!doctype html>
<html <?php language_attributes(); ?>>
<head>
<meta charset=”utf-8″>
<?php if(!isset($VAN[‘isResponsive’]) || $VAN[‘isResponsive’]==1):?>
<meta name=”viewport” content=”width=device-width, initial-scale=1.0, maximum-scale=1″/>
<?php endif;?>
<meta http-equiv=”X-UA-Compatible” content=”IE=edge” />
<title><?php /*
* Print the <title> tag based on what is being viewed.
*/
global $page, $paged;
wp_title( ‘|’, true, ‘right’ );
// Add the blog name.
bloginfo( ‘name’ );
// Add the blog description for the home/front page.
$site_description = get_bloginfo( ‘description’, ‘display’ );
if ( $site_description && ( is_home() || is_front_page() ) )
echo ” | $site_description”;
// Add a page number if necessary:
if ( $paged >= 2 || $page >= 2 )
echo ‘ | ‘ . sprintf( __( ‘Page %s’, ‘SimpleKey’ ), max( $paged, $page ) );?></title>
<link href=”<?php bloginfo(‘stylesheet_url’);?>” rel=”stylesheet” type=”text/css” />
<link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>” />
<!–[if lt IE 9]>
<script src=”<?php echo get_template_directory_uri(); ?>/js/html5.js” type=”text/javascript”></script>
<![endif]–>
<?php wp_enqueue_script(‘jquery’);?>
<?php wp_head();?>
<link rel=’stylesheet’ id=’layout-css’ href='<?php echo get_template_directory_uri(); ?>/full-slider/css/layout.css’ type=’text/css’ media=’all’ />
<link rel=’stylesheet’ id=’flexslider-css’ href='<?php echo get_template_directory_uri(); ?>/full-slider/css/flexslider.css?ver=3.7.1′ type=’text/css’ media=’all’ />
<link rel=’stylesheet’ id=’supersized-css’ href='<?php echo get_template_directory_uri(); ?>/full-slider/css/supersized.css?ver=3.7.1′ type=’text/css’ media=’all’ />
<link rel=’stylesheet’ id=’fullslider-option-css’ href='<?php echo get_template_directory_uri(); ?>/full-slider/css/fullslider.css’ type=’text/css’ media=’all’ />
</head>
<body <?php body_class();?>>
<div id=”ajax-load”>
<div id=”close”>X</div>
<div id=”ajax-content”></div>
</div>
<header id=”top” >
<?php if(is_home()):?>
<div class=”wrapper”>
</div>
<?php endif;?>
<nav id=”primary-menu” >
<div class=”wrapper”>
<h1 id=”site-logo”><a href=”<?php echo home_url();?>/#top” title=”<?php echo bloginfo(‘description’);?>”></a></h1>
<div id=”primary-menu-container”>
<?php wp_nav_menu(array(
‘theme_location’ => ‘primary_navi’,
‘container’ => ”,
‘menu_class’ => ‘sf-menu’,
‘fallback_cb’ => ‘van_scroll_pagemenu’,
‘echo’ => true,
‘walker’=> new Description_Walker,
‘depth’ => 4) );
?>
</div>
<div id=”mobileMenu”></div>
</div>
</nav>
</header>
<?php if(is_home())get_template_part(‘content’,’slider’);?>
I don’t seem to be able to edit and save it back
Why am I know “allowed” to modify the simple key options on my site? I get a 403 Forbidden access denied
I mean NOT allowed
Here you are:<h1 id=”site-logo”><a href=”<?php echo home_url();?>/#top” title=”<?php echo bloginfo(‘description’);?>”></a></h1>
– Why am I know “allowed” to modify the simple key options on my site? I get a 403 Forbidden access denied.
I don't know, in this case, I need to check your site from the back-end. I think you should contact with the author of the theme to get the best solutions.
So Dominic, if I understand well, you are suggesting to remove this line?
Yes, you can remove this line to remove the logo section on the header if you want to hide it.
It actually worked! I am very thankful of your support Dominic! Great job!
My pleasure! If you have any issue or question you can let me know. If I can help, I will help you resolve it.
Please login or Register to submit your answer