Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter rspisarski

    (@rspisarski)

    I am however having an issue with it mobile. is there a way i can fix that

    Thread Starter rspisarski

    (@rspisarski)

    Yes that worked. thank you for the help. I really appreciate it!

    Thread Starter rspisarski

    (@rspisarski)

    okay I got it on there but it is appearing under my logo not next to it. is there a fix for that?

    Thread Starter rspisarski

    (@rspisarski)

    I see how you are doing it but my code looks different…

    <!DOCTYPE html>
    <html class="no-js" <?php language_attributes(); ?>>
    
    <head>
    	<meta charset="<?php bloginfo('charset'); ?>">
    	<meta name="viewport" content="width=device-width, initial-scale=1.0">
    
    	<title><?php wp_title(''); ?></title>
    
    	<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>">
    
    	<?php wp_head(); ?>
    </head>
    
    <body <?php body_class(); ?>>
    
    <div id="wrapper">
    
    	<header id="header">
    
    		<?php if (has_nav_menu('topbar')): ?>
    			<nav class="nav-container group" id="nav-topbar">
    				<div class="nav-toggle"><i class="fa fa-bars"></i></div>
    				<div class="nav-text"><!-- put your mobile menu text here --></div>
    				<div class="nav-wrap container"><?php wp_nav_menu(array('theme_location'=>'topbar','menu_class'=>'nav container-inner group','container'=>'','menu_id' => '','fallback_cb'=> false)); ?></div>
    
    				<div class="container">
    					<div class="container-inner">
    						<div class="toggle-search"><i class="fa fa-search"></i></div>
    						<div class="search-expand">
    							<div class="search-expand-inner">
    								<?php get_search_form(); ?>
    							</div>
    						</div>
    					</div><!--/.container-inner-->
    				</div><!--/.container-->
    
    			</nav><!--/#nav-topbar-->
    		<?php endif; ?>
    
    		<div class="container group">
    			<div class="container-inner">
    
    				<div class="group pad">
    					<?php echo alx_site_title(); ?>
    					<?php if ( ot_get_option('site-description') != 'off' ): ?><p class="site-description"><?php bloginfo( 'description' ); ?></p><?php endif; ?>
    				</div>
    
    				<?php if (has_nav_menu('header')): ?>
    					<nav class="nav-container group" id="nav-header">
    						<div class="nav-toggle"><i class="fa fa-bars"></i></div>
    						<div class="nav-text"><!-- put your mobile menu text here --></div>
    						<div class="nav-wrap container"><?php wp_nav_menu(array('theme_location'=>'header','menu_class'=>'nav container-inner group','container'=>'','menu_id' => '','fallback_cb'=> false)); ?></div>
    					</nav><!--/#nav-header-->
    				<?php endif; ?>
    
    			</div><!--/.container-inner-->
    		</div><!--/.container-->
    
    	</header><!--/#header-->
    
    	<div class="container" id="page">
    		<div class="container-inner">
    			<div class="main">
    				<div class="main-inner group">
    Thread Starter rspisarski

    (@rspisarski)

    If I give you my code for the header.php can you put it in correctly. I know nothing about php coding. I have html experience but that’s it. I would greatly appreciate it

    Thread Starter rspisarski

    (@rspisarski)

    Okay I got the child theme installed and I have the header.php, I cant figure out how to insert in manually tho.

    Thread Starter rspisarski

    (@rspisarski)

    Hey thanks for the reply. I tried the plugin and it would not load when I goto setup thru google. I get a error message. Do you have a tutorial or anything on setting up a child theme?

    .video-container {
    	position: relative;
    	padding-bottom: 56.25%;
    	padding-top: 30px;
    	height: 0;
    	overflow: hidden;
    }
    
    .video-container iframe,
    .video-container object,
    .video-container embed {
    	position: absolute;
    	top: 0;
    	left: 0;
    	width: 100%;
    	height: 100%;
    }
    
    .entry-content img,
    .entry-content iframe,
    .entry-content object,
    .entry-content embed {
            max-width: 100%;
    }
    <div class="video-container"><iframe src="//www.youtube.com/embed/RFinNxS5KN4" width="800" height="450" frameborder="0" allowfullscreen="allowfullscreen"></iframe></div>
    </div>

    I Put that in my CSS and put the video in a div with the class. Then mobile it will automatically resize

Viewing 8 replies - 1 through 8 (of 8 total)