richarduk
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: srcset for image header (responsive)🙂
I’ve not looked at it.
It’s something I’ll look at one day but in my case I’m guessing there’s a very simple workaround of inserting the header image into a dummy post, outputting the HTML and then pasting it in to replace the header HTML.
But if you figure the PHP out paste it here!Forum: Fixing WordPress
In reply to: srcset for image header (responsive)Thanks!
Forum: Fixing WordPress
In reply to: srcset for image header (responsive)Gotcha, thanks! I’d come to the conclusion that header_image didn’t output srcset for some reason. Your solution, however, doesn’t replace a header image with different header images depending on viewport, just resizes the existing header.
I know I’m going to have to dig into wp_get_attachment_image_sizes and wp_get_attachment_image_srcset …
Oh well …
Thanks!
Forum: Themes and Templates
In reply to: [Childishly Simple] Width of dropdown menuTo change all dropdowns, top and bottom, width 500px, top options box (1):
ul.top-navigation li li a:visited, .top-navigation ul ul a, ul.bottom-navigation li li a:link, ul.bottom-navigation li li a:visited, .bottom-navigation ul ul a { width:500px; } </style>To change sub menu and subsequent sub-menus View Source, find id of sub-menu (eg by creating menu with word ‘elephant’ and then searching for ‘elephant’):
<style type="text/css"> ul.top-navigation li li#menu-item-243 a:link, ul.top-navigation li li a:visited, .top-navigation ul ul a { width:500px; } </style>To change one specific sub-menu item only and NOT subsequent ones (hopefully):
<style type="text/css"> ul.top-navigation li#menu-item-243 li a:link, ul.top-navigation li li a:visited, .top-navigation ul ul a { width:500px; } </style>Forum: Themes and Templates
In reply to: [Childishly Simple] Page for Posts when using Simple Home PageSummaries (excerpts) aren’t available unless you go into category.php or whatever and change a line of code there
<?php $childishlysimple_post_count++; if ( $childishlysimple_post_count <= 2000 ) : ?>Make the number smaller e.g. 1 and it’ll show one full post followed by the excerpts. Put category.php in a child theme.
For the sidebar, set it to display:none at a certain resolution and have a footer widget or line of HTML (Add HTML in footer) to show a link to a page with all your links on at that same resolution.
To see what you’re looking at CSS wise use Firefox and Web Developer (bundled with it I think) It has an option to View CSS, which shows ALL the CSS on one page. Then search for @media and that’ll show you all the media queries that apply UNLESS there’s some way for JetPack or another plugin to detect what phone etc. you’re using in which case the relevant CSS MIGHT only be visible when you hit that resolution on that device (it might be a PHP thing that outputs the CSS only at a certain resolution on that device and at all other times the CSS isn’t visible.)
Forum: Themes and Templates
In reply to: [Childishly Simple] Cannot remove a comment from the pageYep, sorry about that. This is a WordPress feature that I belatedly added to stay abreast of WP latest developments. When you create a menu you have the option of adding a description to each menu item, which then appears UNDER the menu item on your website.
The description can be found by clicking on ‘screen options’ in the menu section of Admin. The only thing then to do is to manually go to the menu item, find the description section and delete that long line of text.Forum: Themes and Templates
In reply to: [Childishly Simple] Page for Posts when using Simple Home PageI had a look at a post and a Page together, then shrunk the browser window to mimic low resolution phones, couldn’t see any difference. Perhaps you could be more specific?
There are also online tools for getting screenshots of sites in different phones – Google something like ‘Responsive online tool’.
As I was taking a quick look I noticed one minor error (possibly)
div.wrapper li, div.wrapper li li div.left-sidebar-widget div.menu-left-side-containerI’m prepared to bet there should be a comma in there after
div.wrapper li liForum: Themes and Templates
In reply to: [Childishly Simple] Color schemesNo 1 is the default, no 11 is a test, and all the others are for you to make yourself. Sorry about that 🙂 The idea is that you create and save your own color schemes – on the download page it says ‘Copy and paste your own color schemes into and out of the theme’.
There will be color schemes to buy at a later date but they take forever and a day to put together – after staring at them for an hour or two I lose all sense of color discrimination.
Forum: Themes and Templates
In reply to: [Childishly Simple] Page for Posts when using Simple Home PageThere’s essentially no difference between Simple Home Page 01 and a normal Page. You can copy and paste your Home Page 01 content into a normal Page, make that your front page and then choose any other Page to be your blog posts page. Just make sure that once you’ve copied and pasted your Home Page 01 content you then change your nominal home page to ‘Multiple posts’.
You can then find the url of your Page showing blog posts and use it as a link.
Is that what you meant?Forum: Themes and Templates
In reply to: [Childishly Simple] Home page changed again after updateOK Tony according to that site you’re using the last updated free theme, 3.0.9 and the home page sidebars are immediately below the main home page section and immediately above the home page bottom widgets section, there’s a checkbox to tick.
The menus – go to Appearance > Menus > Edit menus and create two menus, Blank menu 1 and Blank menu 2 (without any menu items in them). Then go to Appearance > Menus > Manage locations and select one of those blank menus for the top menu and one of those blank menus for the bottom menu.Forum: Themes and Templates
In reply to: [Childishly Simple] Home page changed again after updateYes, sorry about that, updates shouldn’t make such an impact in the future, live and learn.
There’s the ability to turn sidebars on and off – if it’s the free theme version it’s an icon of the outline of a rectangle with a black line running down each side in a section immediately below the home page section (this is from memory, the theme has undergone a big facelift).
Menubar across page – not sure what that means.
Have you just posted on my site? If so, I’ve responded there. Send me a url if problems continue.Forum: Themes and Templates
In reply to: [Childishly Simple] Sidebar Custom Menu on Android not workingCan you tell me which custom menu plugin you’re using so that I can have a look?
Hopefully it’ll be something simple like a z-index issue
Forum: Themes and Templates
In reply to: [Childishly Simple] Header containerI triple-checked – uploaded the version of the theme you’re using, set the home page to ‘page without a title’ and an inner page to ‘page without a title’, set the layout to your layout (3 columns content middle) and everything worked fine – both sidebars showed up and the bottom body / html elements were there. I honestly have no idea what’s going on.
All I can suggest is that instead of ‘page without a title’ you try the default ‘page’ and see what happens (you select these templates when creating a Page – they’re usually in the right hand side about half way down) i.e. change the template for the home page. It’s quite possible that I’ve made an error when coding the page templates but as yet I can’t see it.
Forum: Themes and Templates
In reply to: [Childishly Simple] Header containerI see you’ve found the bottom
</body></html>Were you customising the theme files?Looking at your home page it uses page-without-a-title.php I see that both the home page and an inner page using this file have the right sidebar missing. I uploaded the same file to my test site using the theme version that you’ve used and everything works ok. I can only guess – and it is a guess – that you’ve been customising page-without-a-title.php
Forum: Plugins
In reply to: [WooCommerce] WooCommerce Product Images Blurry and not FittingFor that one page, try the following. Taken from woocommerce-layout.css and adapted slightly.
.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary { float: left; width: 24%; padding-left: 200px; }