bdew
Forum Replies Created
-
Forum: Reviews
In reply to: [Gutenberg] It wrecked my pagesHi Tammy,
Thanks for the heads up. Your link gave me a 404 so perhaps it’s easier if you moved it to github.
Thanks, BillScrolling over the featured image for front page partitions only works well if the image is okay being blown up to full screen height. I wanted slim-line featured images and the following code worked for featured images that were 1200px wide and 300px high. Note that the height is based on screen width:
.panel-image { height: 25vw; /* image is 1200 x 300 so height is 25% */ background-size: contain; }However, a slim-line feature image does not look right because space = image height appears below the image. So I used this code t turn off background scrolling:
.background-fixed .panel-image {background-attachment: scroll;}Hope that helps.
Forum: Themes and Templates
In reply to: [Twenty Seventeen] branding sticky nav barHi Figment15
In my twentyseventeen-child/template-parts/navigation I copied across the file navigation-top.php from the twentyseventeen theme and amended it like so:
<nav id="site-navigation" class="main-navigation" role="navigation" aria-label="<?php _e( 'Top Menu', 'twentyseventeen' ); ?>"> <!-- added these 2 items to navigation bar --> <img src="/wp-content/uploads/2016/02/Site-Icon-e1485554741153.jpg" class="GGClogo" /><span class="GGCphone">01620 810591</span> <button class="menu-toggle" ... etcI then set the css to float right the phone number. You can add your css to move your logo as required (which I didn’t do).
Hope that helps
Forum: Developing with WordPress
In reply to: add_shortcode not working …Nothing special about the page where shortcodes fail. Default page template – completely “bog standard” (if you’re British you’ll understand this expression, otherwise I leave you to guess!)
It was a test page where I had been experimenting with codes like & 1004 ; (ie &1004;) and I discovered that Visual mode messed these up, so there was some to-ing and fro-ing between Visual and Text mode. I can only assume Visual mode left something bad and invisible on the page. I don’t trust Visual mode and I never use it.
I copy/pasted the text from the bad page to the new page and everything worked ok and I deleted the bad page. (If you want me to email it to you you’ll have to tell me where I can find the trash and how do I grab it.).
Forum: Developing with WordPress
In reply to: add_shortcode not working …Thank you both for your prompt replies and I tried both suggestions. Initially without success.
In desperation, I started a brand new page with just [hdid] and it worked! Worked with or without ‘init’ with or without that name [hdid].
So the problem is with that particular page. So I tried a ‘trusted’ shortcode and that failed too. This issue I can workaround or ignore!
Thank you both again, topic resolved.
Forum: Themes and Templates
In reply to: Twenty Sixteen MENU does not work on mobileJust in case it is a plugin conflict, I can confirm that the Mobile menu in twentysixteen theme is working with these plugins:
All-in-One event calendar
amr shortcode any widget
contact form builder
custom bulk/quick edit
custom content shortcake
data tables generator by supsystic
duplicator
easy table
enhanced media library
google analytics by toast
meta slide
mobile gallery
RSS featured images
WP fontallic easypromowebHope that helps …
Forum: Themes and Templates
In reply to: Twenty Sixteen MENU does not work on mobileIt has taken me an age to get twentysixteen to work as I think it should – far too much white space and I’m still not there. I think its the theme’s media queries screwing my css.
Anyway, I can say that the Menu button works ok if I’m on an actual iPad or iPhone, but if I just shrink the browser window is sometimes fails (again I suspect the media queries).
I had been using the plugin “Sticky Menu (or Anything!) on Scroll” – this works fine except (as the plugin descripes) it would not support the Menu button when scrolled. I have now fixed title and menu is my child css.
I believe there is a bug. T his is all the css I use for the Menu button, some is just a styling choice:
/* Menu button & menu on small screens */ .main-navigation li { /* needed to fix bug on Menu's dropdown being transparent */ background-color: white; z-index: 2000; } .menu-toggle {margin: 7px 0;} /* position button */ button {text-transform: none; border-radius: 5px;} .site-header-menu { background:white; } .menu-item a {padding-left: 8px;}Forum: Themes and Templates
In reply to: Twenty Sixteen MENU does not work on mobileI had a similar experience when I upgraded from the twentytwelve theme.
My problem was caused by my taking a “short cut” and copying over the contents of my twentytwelve-child into a new twentysixteen-child. The problem resolved itself when I deleted the header.php and all code referencing the selectnav function in twentytwelve (this is in style.css and the js folder) from twentysixteen-child.
There’s probably a lesson here: If you change theme always start with a clean child-theme.
Needless to say, I now need to check the twentysixteen features before I reapply my custom code to avoid duplication.
PS I also saw that in mobile mode, the menu appears automatically at the bottom of the page. Probably a neat idea but I’ll need some ‘phone time trying it out.
Forum: Plugins
In reply to: [Sticky Menu & Sticky Header] Sidebar sticks ok on desktop but not on MobileFound the problem.
Before I installed this plugin I had experimented with the CSS position: sticky; and I had left code in my child style.css referencing the same element I later specified in this plugin.
Seems, the CSS code only worked on mobiles, not desktop, and overruled the plugin.
Anyway, I’m a thickhead for not spotting this straight away, and many thanks to Mark for his support.
Forum: Plugins
In reply to: [Sticky Menu & Sticky Header] Sidebar sticks ok on desktop but not on MobileOk, Mark,
So I’ve got a zip file in by downloads folder, how do I get it to you?
Forum: Plugins
In reply to: [Sticky Menu & Sticky Header] Sidebar sticks ok on desktop but not on MobileI had forgotten that my Response menu came “out of the box” from here:-
Should give stafmans credit for that, and its not the cause of this sticky problem.
I’ve copied all my custom php’s and css (that is still valid) into a new twentrytwelve child and the problem has disappeared! So now I have 2 “identical” child themes and in one the problem occurs and in the other its fixed and I’m flumoxed to know what is causing the problem
Think I’ll go through all my test plans to see if they really are “identical”.
Forum: Plugins
In reply to: [Sticky Menu & Sticky Header] Sidebar sticks ok on desktop but not on MobileI’ve just updated to the latest twentytwelve theme and activated that and I agree with Mark, the plugin is working.
So, I’ll have to rebuild by child theme piece by piece and check this plugin as I go.
But first, the Responsive menu now included in twentytwelve is horrible, I’ll need to research that.
If you go to the above link it will not show work-in-progress. This is a background task so don’t wait for me. I’ll post here what I find.
Forum: Plugins
In reply to: [Sticky Menu & Sticky Header] Sidebar sticks ok on desktop but not on MobileI sent link back via email, but here it is again
Just went through each plugin and upgraded any that needed it and then deactivated them one by one. This fault recurred each time, so conflict with plugins not suspected.
I switched to this theme 3 years ago when I had to download selectnav.js and install it into my child theme. I’m wondering if the latest version of twentytwevle has this functionality in the theme. I currently trying to workout how to uninstall this selectnav.js
Forum: Reviews
In reply to: [Featured Images in RSS for Mailchimp & More] Great supportOkay, I’m satified that the plugin works, the image is being sent to RSS. The problem is with Feedly which has been taking an additional hour to show the featured image. So for the first hour or so you think the plugin isn’t working.
How do I change the rating?
Forum: Reviews
In reply to: [Featured Images in RSS for Mailchimp & More] Great supportI must thank Rob for his quick response …