chineloogbonna
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Redirecting to Mobile StylesheetThank you Andrew. Please excuse my lack of knowledge, but if you could just clarify your response for me. When you say, “if I am not going to use a Child Theme than I should install the plugin.” Do you mean a Child Theme for my mobile site, because I am using a Child Theme for my desktop view. Can I still use the plugin for my mobile site when I currently have a Child Theme for my regular site?
Thank you an advance.
Chinelo
Forum: Fixing WordPress
In reply to: Navigation Bar not showing on my phoneHi Stephen …after taking a look at my header.php file the meta name “viewport” is included, Any other suggestions:
<?php
/**
* The Header template for our theme
*
* Displays all of the <head> section and everything up till <div id=”main”>
*
* @package WordPress
* @subpackage Twenty_Thirteen
* @since Twenty Thirteen 1.0
*/
?><!DOCTYPE html>
<!–[if IE 7]>
<html class=”ie ie7″ <?php language_attributes(); ?>>
<![endif]–>
<!–[if IE 8]>
<html class=”ie ie8″ <?php language_attributes(); ?>>
<![endif]–>
<!–[if !(IE 7) & !(IE 8)]><!–>
<html <?php language_attributes(); ?>>
<!–<![endif]–>
<head>
<meta charset=”<?php bloginfo( ‘charset’ ); ?>”>
<meta name=”viewport” content=”width=device-width”>
<title><?php wp_title( ‘|’, true, ‘right’ ); ?></title>
<link rel=”profile” href=”https://gmpg.org/xfn/11″>
<link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>”>
<!–[if lt IE 9]>
<script src=”<?php echo get_template_directory_uri(); ?>/js/html5.js”></script>
<![endif]–>
<?php wp_head(); ?>
</head><body <?php body_class(); ?>>
<div id=”page” class=”hfeed site”>
<header id=”masthead” class=”site-header” role=”banner”>
” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” rel=”home”>
<h1 class=”site-title”><?php bloginfo( ‘name’ ); ?></h1>
<h2 class=”site-description”><?php bloginfo( ‘description’ ); ?></h2>
<div id=”navbar” class=”navbar”>
<nav id=”site-navigation” class=”navigation main-navigation” role=”navigation”>
<button class=”menu-toggle”><?php _e( ‘Menu’, ‘twentythirteen’ ); ?></button>
“><?php _e( ‘Skip to content’, ‘twentythirteen’ ); ?>
<?php wp_nav_menu( array( ‘theme_location’ => ‘primary’, ‘menu_class’ => ‘nav-menu’, ‘menu_id’ => ‘primary-menu’ ) ); ?>
<?php get_search_form(); ?>
</nav><!– #site-navigation –>
</div><!– #navbar –>
</header><!– #masthead –><div id=”main” class=”site-main”>
Forum: Fixing WordPress
In reply to: Navigation Bar not showing on my phoneThank you so much Stephen. That did the trick!! I know I am suppose to open another thread, but since you know the Twenty Thirteen so well, wondering if you could help me out with a couple other things?
First: I have horizontal lines within my bottom nav bar, I cannot find the code to change the color to match the links?
Second: This doesn’t seem to be an issue on the iPhone but on my Galaxy when I link to the Blog, I have to zoom out quite a bit. Is there something I can adjust so to fix that?
Thank you for all your help!
ChineloForum: Fixing WordPress
In reply to: Navigation Bar not showing on my phoneWhen you created the child them, did you place anything in the header.php file in your child them folder. Also, the code above is copied my functions.php from my child theme exactly how it is in my folder. Does it look right?
Forum: Fixing WordPress
In reply to: Navigation Bar not showing on my phoneThis is my chid theme functions php, wondering if I put my code in the wrong place. As mentioned above I am not php trained. Thanks in advance!
<?php
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
function theme_enqueue_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
wp_enqueue_style( ‘child-style’, get_stylesheet_uri(), array( ‘parent-style’));
}
/*
adding footer menu, second nav to child theme
*/
register_nav_menus( array(
‘primary’ => __( ‘Primary Menu’, ‘CHILDTHEMENAME’ ),
‘secondary’ => __( ‘Secondary Menu’, ‘CHILDTHEMENAME’),
) );?>
Forum: Fixing WordPress
In reply to: Navigation Bar not showing on my phoneThanks Jim, but this was an issue before I added the social media. Any other suggestions?
Thanks
ChineloForum: Fixing WordPress
In reply to: Navigation Bar not showing on my phoneWell, I am not php trained anyway you can take a look for me. I am also havig an issue with the bottom nav bar not going across the length of the websie when view on my phone?
Thanks
ChineloForum: Fixing WordPress
In reply to: Nav Bar not showing on my phoneHi Tara,
Thanks for you help. I am using TwentyThirteen.Forum: Themes and Templates
In reply to: Changing Header HeightHi Bojan
Wondering if you could help me with another issue? I am trying change the padding between the header and content. I’ve tried changing everything I thought would do it, but nothing seems to be working? Aslo, how do I remove the “powered by wordpress” at the bottom?Forum: Themes and Templates
In reply to: Changing Header HeightThank you so much Bojan, that fixed it!! ??