IslandWilson
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to remove MENU hackNot sure. I think originally it was the theme wp suggested, if that’s possible. (It was a while ago.)
Today I just googled “2011 theme download” to get the fresh files.
https://www.ads-software.com/themes/twentyelevenForum: Fixing WordPress
In reply to: How to remove MENU hackThanks Calvin. Thanks Michal.
I moved a fresh functions.php for the 2011 theme into my theme DIR and that cleared up the extra code.
The last Plugin I added was EMBED PDF last week. Hmmmm.
Thanks for all the help.
Forum: Themes and Templates
In reply to: [Theme: 2011] Auto resize of Header Image.Thanks Janet. Ok. I took a leap and edited the functions.php and style.css.
In functions.php, I changed the width from 1000 to 640 :
‘width’ => apply_filters( ‘twentyeleven_header_image_width’, 640 ),In Style.css, I moved the height to the last line and changed it from auto to 288px
#branding img {
display: block;
width: 100%;
height: 288px;
}(I know there is a better way to do this with a child theme but ever time I tried to add a completely blank child theme I lost one of my page buttons. )
Anyway, this achieves about 95% of what I wanted to do. My instagram posts are now showing up in the header as the featured image as well as in the post. However the aspect ratio isn’t the same as the original.
Example: https://www.islandwilson.com/blog/2014/05/20/another-distinctive-coral/
I can live with this but I’d prefer if it was cropped instead of scrunched.
Any suggestions would be greatly appreciated.Forum: Themes and Templates
In reply to: [Theme: 2011] Auto resize of Header Image.I have absolutely no idea what I would be changing
Forum: Themes and Templates
In reply to: [Theme: 2011] Auto resize of Header Image.Great.
Do you have any idea what code I need to add to my CSS. or what to modify. This is my first attempt to edit the css or php
Forum: Themes and Templates
In reply to: [Theme: 2011] Auto resize of Header Image.I think that is the right area but I am not a coder.
Also, I think changing the header size won’t stretch the 640 px width to 1000 px. It will just allow a width of 640px.
i am also concerned what that will do to all the featured images that are 1000px.So I think I looking for some kind of testing in the code. If image is 1000px or more, don’t do anything. But if the image is less than 1000px then resize it to fit. I don’t know exactly. or even if it’s possible.