Thank you
]]>I could do with some help! Please be kind and tell me an answer in plain English, as I’m new to this!
The site is amberleyschool.co.uk. Created a child theme of the TwentyThirteen. But the site does not display its whole width on a mobile device (iPhone). Although the table does? Also white space appears beneath the header image on Ipads and Iphones?
I’ve been through the CSS many times but just cant seem to find the problem.
Any help much appreciated.
]]>The Code:
– in my child theme functions.php:
<?php
function animatemenu_enqueue_script() {
wp_enqueue_script( 'animate-menu', '/wp-content/themes/twentythirteen-child/js/animate-submenu.js', false );
}
add_action( 'wp_enqueue_scripts', 'animatemenu_enqueue_script' );
?>
The animate-submenu.js script:
jQuery(document).ready(function() {
jQuery(".sub-menu").hide(); // hide the submenu on page load
jQuery(".current_page_item .sub-menu").show();
jQuery("ul#menu-nav-menu li").hover(function() {
jQuery(this).find('ul.sub-menu')
.stop(true, true).delay(20).animate({ "height": "show", "opacity": "show" }, 500 );
}, function(){
jQuery(this).find('ul.sub-menu')
.stop(true, true).delay(20).animate({ "height": "hide", "opacity": "hide" }, 500 );
});
});
Is this a code problem? Or a jquery enqueue or version problem? I assume that jquery is loaded via another plugin, because I haven’t added the enqueue function to anything on the child theme (which may or may not be part of the problem).
In answer to using a plugin instead of manually doing it, I always prefer – if I can – to create boilerplate snippets of code to handle things like this rather than creating plugin bloat/potential plugin update issues.
Appreciate the help and education!
]]>I seriously doubt I have to copy and paste and type in all those details everytime.
When I go to plancast and get the message “copy and paste the following code into your website to display your plan calendar”
Where do I paste the URL code for it to show up? My website is www.thetriplefblog.com
I am using twentythirteen wordpress theme and blue host if that helps for anything.
PLEASE help!
https://www.ads-software.com/plugins/the-events-calendar/
]]>When I go to Appearance -> Edit CSS I get a welcome page.
See below:
/*
Welcome to Custom CSS!
CSS (Cascading Style Sheets) is a kind of code that tells the browser how
to render a web page. You may delete these comments and get started with
your customizations.
By default, your stylesheet will be loaded after the theme stylesheets,
which means that your rules can take precedence and override the theme CSS
rules. Just write here what you want to change, you don’t need to copy all
your theme’s stylesheet content.
*/
When I go to Appearance -> Editor, I get A LOT of stuff including a table of contents. Table of Contents:
/**
* Table of Contents:
*
* 1.0 – Reset
* 2.0 – Repeatable Patterns
* 3.0 – Basic Structure
* 4.0 – Header
* 4.1 – Site Header
* 4.2 – Navigation
* 5.0 – Content
* 5.1 – Entry Header
* 5.2 – Entry Meta
* 5.3 – Entry Content
* 5.4 – Galleries
* 5.5 – Post Formats
* 5.6 – Attachments
* 5.7 – Post/Paging Navigation
* 5.8 – Author Bio
* 5.9 – Archives
* 5.10 – Search Results/No posts
* 5.11 – 404
* 5.12 – Comments
* 5.13 – Multisite
* 6.0 – Sidebar
* 6.1 – Widgets
* 7.0 – Footer
* 8.0 – Media Queries
* 9.0 – Print
This theme claims to use something called “Turbo Editor” to consolidate editing. I half suspect that this Turbo Editor made changes to the WP files themselves and either it is not compatible with the current version of WP or there is just a serious flaw in the theme in the first place.
– Two Error messages in the header on Themes admin page (see first error box).
– I cannot change theme to anything else (see second error quoted below).
Warning: Cannot modify header information – headers already sent by (output started at /home/content/html/wp-content/themes/ftf/lib/utillity.php:1387) in /home/content/html/wp-includes/option.php on line 571
Warning: Cannot modify header information – headers already sent by (output started at /home/content/html/wp-content/themes/ftf/lib/utillity.php:1387) in /home/content/html/wp-includes/option.php on line 572
]]>Warning: Cannot modify header information – headers already sent by (output started at /home/content/html/wp-content/themes/ftf/lib/utillity.php:1387) in /home/content/html/wp-includes/pluggable.php on line 875