Nicolas Genty
asked 7 years ago

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
 

5 Answers
DominicStaff
answered 7 years ago

Which theme are you using? you can send me your site URL for further checking.

Nicolas Genty
answered 7 years ago

My website can be found at http://www.nicolasgenty.com

DominicStaff
answered 7 years ago

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;}
Nicolas Genty
answered 7 years ago

I have tried but it does not work

Dominic Staff
replied 7 years ago

You can send me username & password of your site, I will help you resolve it now.

Nicolas Genty
replied 7 years ago

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?

Dominic Staff
replied 7 years ago

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>

Nicolas Genty
replied 7 years ago

i am afraid i don’t know how tonopen the header.php file under WP

Dominic Staff
replied 7 years ago

You can log into Dashboard > Appearance > Editor > and find this file in the right hand side.

Nicolas Genty
answered 7 years ago

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

Nicolas Genty
answered 7 years ago

Why am I know “allowed” to modify the simple key options on my site? I get a 403 Forbidden access denied

Nicolas Genty
replied 7 years ago

I mean NOT allowed

Dominic Staff
replied 7 years ago

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.

Nicolas Genty
replied 7 years ago

So Dominic, if I understand well, you are suggesting to remove this line?

Dominic Staff
replied 7 years ago

Yes, you can remove this line to remove the logo section on the header if you want to hide it.

Nicolas Genty
replied 7 years ago

It actually worked! I am very thankful of your support Dominic! Great job!

Dominic Staff
replied 7 years ago

My pleasure! If you have any issue or question you can let me know. If I can help, I will help you resolve it.

Powered by DW Question & Answer Pro