Deborah Delin
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Child Theme ProblemThe problem occurs in Safari and Google Chrome.
Forum: Themes and Templates
In reply to: Child Theme ProblemHi Andrew,
Thanks for replying.Here is an example link. All the posts seem to display problematically whereas the pages are usually, but not always, OK.
https://www.photomobil.co.il/english-wedding-in-israel-bayaar/
But I haven’t got the child theme activated at the moment because of the problem. So the page should display OK. Is it possible to understand anything without the child theme activated?
I see. Thank you for replying.
Thank you for replying.
My theme, Twenty Fourteen, supports two menus. One in the top primary menu area and one in the left sidebar. I have created an alternative menu that I would like to be displayed on mobile devices. But if I assign it to the primary position then it will also display on desktops. How could I assign the mobile menu to the Mobile Theme?
Thank you.
Forum: Themes and Templates
In reply to: iPad display problemI’ve re-built my child style.css and problem solved.
Forum: Themes and Templates
In reply to: iPad display problemCorrection – the parent theme displays OK so the problem is with my Child theme. But I don’t know where! I would be grateful of any advice. Thank you!
Forum: Themes and Templates
In reply to: [Twenty Fourteen] Display problem on Mobile DevicesI just uploaded a fresh copy of the Twenty Fourteen theme and de-activated my child theme. Same display problem. I can’t imagine this is a bug with the theme?
Forum: Themes and Templates
In reply to: [Twenty Fourteen] Display problem on Mobile DevicesSorry – I’ve made this thread confusing.
On mobile devices: the home page sometimes comes up OK but when a page is selected the site displays squashed and is only visible if someone bothers to scroll way over to the right. I’ve made a temporary fix on mobile phones with Jetpack plugin but the problem can be seen on iPads.
The site is modified for right to left so I’m wondering if there is something in the child style.css which could be causing this.
Please could a kind person have a look? Thank you!
Forum: Themes and Templates
In reply to: [Twenty Fourteen] Display problem on Mobile DevicesI spoke to soon……….
The problem is intermittent. But site still often displays (or rather doesn’t display) in a narrow rectangle way over to the right .
I have enabled Jetpack mobile plugin for mobile phones but the problem can be seen on iPads. If some kind person would be kind enough to have a look for me I’d be so grateful.
I am sure 2014 should display on mobile devices so am wondering if it is to do with a right to left modification in the style.css.
Forum: Themes and Templates
In reply to: [Twenty Fourteen] Display problem on Mobile DevicesI fixed it! I had the background image set to “left”. When I set it to centre the site displays fine!
Forum: Themes and Templates
In reply to: [Twenty Fourteen] Display problem on Mobile DevicesMaybe I should mention that the site is mainly in Hebrew, a right to left language, and I have made reversed the direction of all instances of text-align, float and clear in style.css. Maybe this is what’s causing the problem?
Forum: Themes and Templates
In reply to: [Twenty Fourteen] Sidebar appears in wrong place in Child ThemeI apologise for my ramblings. I now have managed to activate the Child Theme successfully. I have no idea what was causing the problem before.
Thank you for trying to help.
Forum: Themes and Templates
In reply to: [Twenty Fourteen] Sidebar appears in wrong place in Child ThemeActually now the content bar is on the right in the child theme but there is an enormous page sized white space at the top of the web page.
I am wondering if the problem is my child functions.php file.
I upload a file with:
<?php add_action( 'wp_enqueue_scripts', 'enqueue_child_theme_styles', PHP_INT_MAX); function enqueue_child_theme_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' ); wp_enqueue_style( 'child-style', get_stylesheet_uri(), array('parent-style') ); }
It isn’t clear to me whether I need to close the code with ?> or not but whether I do or not, WordPress fills this file with 370 lines of code which starts off as below.
Also when I load a child style.css file with this in it:
/* Theme Name: Twenty Fourteen Child Theme URI: https://example.com/twenty-fourteen-child/ Description: Twenty Fourteen Child Theme Author: Deborah Delin Author URI: https://example.com Template: twentyfourteen Version: 1.0.0 Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready Text Domain: twenty-fourteen-child */
WordPress adds some 370 lines of code. What might be going on?
Some of the code WordPress adds to the functions.php file:
<!DOCTYPE html> <!--[if IE 8]> <html xmlns="https://www.w3.org/1999/xhtml" class="ie8 wp-toolbar" lang="en-US"> <![endif]--> <!--[if !(IE 8) ]><!--> <html xmlns="https://www.w3.org/1999/xhtml" class="wp-toolbar" lang="en-US"> <!--<![endif]--> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>FileManager ? ????????? — WordPress</title> <script type="text/javascript"> addLoadEvent = function(func){if(typeof jQuery!="undefined")jQuery(document).ready(func);else if(typeof wpOnload!='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}}; var ajaxurl = '/wp-admin/admin-ajax.php', pagenow = 'wp-filemanager/fm', typenow = '', adminpage = 'wp-filemanager-fm-php', thousandsSeparator = ',', decimalPoint = '.', isRtl = 0; </script>
Forum: Themes and Templates
In reply to: [Twenty Fourteen] Sidebar appears in wrong place in Child ThemeThank you for replying!
According to your suggestion I have created a new child theme style.css which only contains the CSS modifications. When I activate the Child theme it still displays wrongly.
The site is mainly in Hebrew, an RTL language, so I went through style.css reversing the directions of text-align, float and clear. At present the parent style.css also contains these modifications, and it displays properly.
I realise it is difficult to tell what is wrong by looking at an image, but obviously I don’t want to leave the messed up site live.
Would it be possible to co-ordinate a time when I activate the child theme and you could have a look at it?
Thank you so much for your help!
Deborah
Forum: Plugins
In reply to: [W3 Total Cache] CSS Changes and W3 Total CacheActually that’s not a good solution either as when I reactivated the CDN the CSS changes were lost again.
Now I’ve unchecked “Host Theme Files” in the W3 CDN settings and that seems to be working.