How increase space for the video
-
Hello
I have a static front page at
How can I increase the space for the video to play in?
Cheers
Geoff
-
Try this css on your child theme
.site { max-width: 100%; width: 100%; } .vidbg-container { overflow: visible !important; }Rajan
thanks – but where do I add this? never used child theme before!
Geoff
If you have child theme you can add this line on that style.css (Its recommended way)
Or you can install https://wordpress.org/plugins/simple-custom-css/
to put this lines
I have created the style.css and functions.php and uploaded them into
/public_html/wp-content/themes/twentythirteen/twenty-thirteen-child
but not sure whether I have added all required info .. anything wrong or missing? Geoff1. style.css
/*
Theme Name: Twenty Thirteen child
Theme URI: http://geoff-ideas.co.uk/twenty-thirteen-child/
Description: Twenty Thirteen Child Theme
Author: Geoff Cox
Author URI: http://geoff-ideas.co.uk
Template: twentythirteen
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: increase size of space for video background
Text Domain: twenty-thirteen-child
*/.site {
max-width: 100%;
width: 100%;
}
.vidbg-container {
overflow: visible !important;
}2. functions.php
<?php
function theme_enqueue_styles() {$parent_style = ‘parent-style’;
wp_enqueue_style( $parent_style, get_template_directory_uri() . ‘/style.css’ );
wp_enqueue_style( ‘child-style’,
get_stylesheet_directory_uri() . ‘/style.css’,
array( $parent_style )
);
}
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
?>Yes its correct.
You need to enable child theme
Rajan
so far the child theme does not appear in Appearances/Themes ..
How/where do I enable the child theme?
Geoff
No I can see that on my local system with your code
Can you see that
https://drive.google.com/file/d/0B5MM7pmPLcxTN19hZXdadmlhXzQ/view?usp=sharing
I can see your pic but nothing like that shows up on my setup!?
Geoff
Ohh
Wrong Root : /public_html/wp-content/themes/twentythirteen/twenty-thirteen-child
This is correct root : /public_html/wp-content/themes/twenty-thirteen-child
Now only i notice that !!
Rajan
thanks for that ! I had also created the child dir inside the twentythirteen folder. Have made corrections and now the video space fills the front page.
Many thanks!
I just need now to get the menu back – ?
Geoff
Are you enable child theme?
Rajan
I notice that the header with the menu options does appear in other pages, eg venues
how do I get the menu back onto the static front page?!
Geoff
Rajan
yes, enabled and working – see front page
but you see from my other post I have lost the menu from the static front page – it is there on the, e.g. other pages.
Geoff
Add this line on custom theme style.css
.site-header { background: rgba(0, 0, 0, 0) url("http://geoff-ideas.co.uk/wp-content/uploads/2016/01/cropped-debussy-1-1.jpg") no-repeat scroll center top / 1600px auto !important; }Replace this lines
.site-header{ background: rgba(0, 0, 0, 0) url("http://geoff-ideas.co.uk/wp-content/uploads/2016/01/cropped-debussy-1-1.jpg") no-repeat scroll center top / 1600px auto !important; z-index: 9999; position: relative; }
The topic ‘How increase space for the video’ is closed to new replies.