Arthur Broeders
Forum Replies Created
-
Forum: Your WordPress
In reply to: Just updated to 3.4.2My reply wasn’t constructive. I shouldn’t have posted this.
Forum: Your WordPress
In reply to: Just updated to 3.4.2Funny thing this.
You are offering all kinds of professional services, even building ‘my professional website’.
And then there is a hiccup after a WordPress update … and you run to this forum?
I wouldn’t trust my business (or whatever) in your hands, to be honest.
No offense meant.Kind regards,
Arthur
Forum: Themes and Templates
In reply to: Changing header size in CoralineHi philopolis,
That is a very nice site!
These border lines are part of the header image styling (3px at the top, 1px at the bottom, 0px left and right):
#branding img { border: 1px solid #000; border-width: 3px 0 1px; max-width: 100%; height: auto; }You have made the site wider, but the header image width still is 720px.
So you should resize the image according to the page width.Or a fast method: give the header image a width=”100%” (and height=””). So it stretches to fill the header. And thus the borders are fitting as well.
<img src="./../writerightnow.png" align="center" width="100%" height="" alt="">But better resize the image.
And as you can see the image is defined max-width: 100%, so if you match the width (if you are not exactly sure, just make the image a bit wider than the page!!!), and add/upload the header image again, that is the only thing there is to it. No child theme needed πHope this helps.
Kind regards,
Arthur
Forum: Themes and Templates
In reply to: Twenty Eleven @media (max-width: 767px) ?Hi lusitanoflickan,
Good π
“Is it bad to do it that way?”
Hell no! The purpose of a child theme is to make all additions for the parent in that named child theme. So you can upgrade the parent without loosing your own modifications. True and very good practice.
Maybe different when you are working for clients (etc.) but as long as you are pottering your own private site, as long as you are learning, and as long as it loads fast AND you are happy with the result: whatever it takes, right?
Good luck with your WordPress site.
Kind regards,
Arthur
Forum: Themes and Templates
In reply to: Twenty Eleven @media (max-width: 767px) ?Hi lusitanoflickan,
Uploaded a TEST page for you. You can save the page and look in the altered style.css (if you need some more clues).
Said again: works as you asked for on a iPad Portrait: sidebar next to content.
The reset code is
@media (max-width: 800px) { /* Simplify the basic layout */ #main #content { margin: 0 7.6% 0 34%; width: 58.4%; } #main #secondary { float: left; margin: -7% 0 0 0; width: 23.91%; } }I will keep it uploaded for one day.
To be honest: it still feels all a bit quick-n-dirty:
– you have copied the complete parent stylesheet in the child stylesheet;
– you have added a 768px breakpoint in the child css but leave the 800px breakpoint as is in the parent (where now only a small part is ‘reset’)But well, it works π
Kind regards,
Arthur.
Forum: Themes and Templates
In reply to: Twenty Eleven @media (max-width: 767px) ?Hi lusitanoflickan,
Well, yes of course it still jumps at 800px.
You are altering breakpoints in your own stylesheet, but still the twentyeleven stylesheet is loaded (imported) first.And there you will find:
@media (max-width: 800px) { /* Simplify the basic layout */ #main #content { margin: 0 7.6%; width: auto; } #nav-below { border-bottom: 1px solid #ddd; margin-bottom: 1.625em; } #main #secondary { float: none; margin: 0 7.6%; width: auto; }So that breakpoint still is valid and works.
You should reset that in your own stylesheet as well.For my test I had simply removed the import of the twentyeleven stylesheet. Then is all works fine. But that was a quick-n-dirty trick!
I hope this helps.
Kind regards,
Arthur.
Forum: Themes and Templates
In reply to: Twenty Eleven @media (max-width: 767px) ?Hi lusitanoflickan,
Hmm, now is does read 767px. Strange!
But still, you have to move the code for #content and #secondary to the next breakpoint.
So is should read (and keep the first one at 768px!)
@media (max-width: 768px) { /* Simplify the basic layout */ #main #content { } #nav-below { border-bottom: 1px solid #ddd; margin-bottom: 1.625em; } #main #secondary { }and
@media (max-width: 650px) { /* @media (max-width: 650px) Reduce font-sizes for better readability on smaller devices */ body, input, textarea { font-size: 14px; } #main #content { margin: 0 7.6%; width: auto; } #main #secondary { float: none; margin: 0 7.6%; width: auto; }Really works.
Kind regards,
Arthur
Forum: Themes and Templates
In reply to: Twenty Eleven @media (max-width: 767px) ?Hi lusitanoflickan,
I am looking at your stylesheet (worksofchivalry/style.css) and is says
@media (max-width: 768px) { /* Simplify the basic layout */ #main #content { margin: 0 7.6%; width: auto; } #nav-below { border-bottom: 1px solid #ddd; margin-bottom: 1.625em; } #main #secondary { float: none; margin: 0 7.6%; width: auto; }starting from line 2240.
I cannot find a breakpointmax-width: 767px, though.
Have you perhaps changed the parent stylesheet (twentyeleven/style.css) instead?I have tested your page, with your stylesheet, on an iPad.
Works like a charm.Kind regards,
Arthur
Forum: Themes and Templates
In reply to: Twenty Eleven @media (max-width: 767px) ?Hi lusitanoflickan,
Nope, it certainly is a @media styles issue:
At
@media (max-width: 768px)both#main #contentand#main #secondaryare changed towidth: auto;.
Hence both are stretched to 100% and thus the sidebar dives under the content.(That’s lines 2242-2245 and 2250-2254 in the stylesheet.)
Move that to the
@media (max-width: 650px)and you keep the sidebar next to the content in iPad Portrait.Kind regards,
Arthur
Forum: Your WordPress
In reply to: [NSFW] Lauriergracht No.37 : a Twenty Twelve child theme showcase.Hello Mika,
Thank you for explaining π
Kind regards,
Arthur
Forum: Your WordPress
In reply to: [NSFW] Lauriergracht No.37 : a Twenty Twelve child theme showcase.Thanks madsrh123.
Sharing the code? Nope, rather not, because when pottering this Twenty Twelve Child Theme I never considered meeting the WordPress theme development standards. Not with this one. So the ‘No.37‘ is all shiny on the outside, but very shoddy inside.
I am merely showing a very simple and basic (but eye pleasing, I hope) Twenty Twelve Child here; which (the posting here) I instantly regretted after the second response above, to be honest.
Kind regards,
Arthur
Forum: Your WordPress
In reply to: [NSFW] Lauriergracht No.37 : a Twenty Twelve child theme showcase.Okay. I do apologize and I hope the above is sufficient warning.
Kind regards,
Arthur
Forum: Your WordPress
In reply to: [NSFW] Lauriergracht No.37 : a Twenty Twelve child theme showcase.Are you serious? What nude content?
There is a (very small part of a) Jan Saudek photograph (a beautiful one, that is) and the ‘Last of the Country Gentlemenβ album cover!
But okay: please beware of some nude content here.
Kind regards,
Arthur
Forum: Plugins
In reply to: [mb.YTPlayer for background videos] 0.6.6 not workingHi pako69,
Look under the Developers page:
http://ww.wp.xz.cn/extend/plugins/wpmbytplayer/developers/
There you can find and download all older versions.
And then we will await the 0.6.7 π
Kind regards
Forum: Plugins
In reply to: [mb.YTPlayer for background videos] 0.6.6 not workingYes, it doesn’t seem to work at this moment.
But as a workaround for your sites in production: simply restore the 0.6.5 version of the plugin.
So you can correct this yourself π