Forum Replies Created
-
AuthorPosts
-
tikvah73Member
I was able to figure out the change I needed using the link you provided to codex. Thank you.
tikvah73MemberAha. I need to figure out github apparently because it actually inserted my image and link. Shoot.
tikvah73MemberOkay - I tried that using this:
<?php
if (! is_page_template("Landing") ) { ?><?php
}
?>And it did not work. Do you see what is wrong with this? I did make sure that "execute php" was checked.
You can see this in action here: http://homeschoolencouragement.com/products/
I will check out the link you provided as well. Thank you for your help.
tikvah73MemberPS. I just switched to a new host this month. This is the first time I have tried to modify a theme since that time :).
tikvah73MemberI just wanted to say thank you all for your help.
Turns out all of your code was working like it should, but the CDN on my host has to be manually purged through a support ticket. Once we disabled CDN, the updates took effect. I appreciate your kindness with a novice!
tikvah73MemberI ended up just restoring it to what I started with at the top of this thread, so that it at least looks half-way decent. I have to get some sleep and I don't want a bunch of people looking at it all a mess.
Thank you for your help. I will either get fresh eyes tomorrow, or switch themes completely.
tikvah73MemberI had the . in the code, just did not copy it here.
So, I have tried to re-install the theme hoping I could start from scratch and maybe that would solve the problem.
Now I need to know how to get WordPress not to re-apply all of the changes I had made to the theme in the past 24 hours.
I deactivated the theme and activated Genesis Sample.
I deleted the theme.
I re-installed WordPress
I looked at the blog in Genesis Sample.
I went in and uploaded a fresh install of lifestyle-pro.zip.
I looked at my blog, and it had saved the color customization I did earlier.
I decided to try a different method.
I copied just the css file from my computer file of lifestyle-pro.
I pasted that into the css stylesheet on my website.
Result? No change. It still has the matching green color I customized at the start of this mess.
In fact, the css code shows the correct color, but the blog shows the old color.and I did clear my browser cache, and my caches in WordPress.
Now I am like a dog with a bone. I do not want to give up.
Can anyone help?
tikvah73MemberI'm not sure you really want or need to keep helping me with this, but that did not work either.
Here are the steps I took:
1. inserted the code to my css
site-header {
background-image: url(images/logo.png);
height: 200px;
width: 100%;
}2. uploaded my image - renamed to logo.png to my child theme's image file using my cPanel login.
3. removed this from the .php code
//* Add support for custom header
add_theme_support( ‘custom-header’, array(
‘header_image’ => ”,
‘header-selector’ => ‘.site-title a’,
‘header-text’ => false,
‘height’ => 200,
‘width’ => 1140,
) );4. Removed the Genesis Simple Hooks code I had placed earlier to put the image in my header.
Now, I have no image, just a green box, and no site title either.
tikvah73MemberOkay thanks! I will give it a try.
I don't think I want to extend if full-width so that is okay. Inside the container, but without the green background will be awesome!
tikvah73MemberOkay thanks! I will give it a try.
I don't think I want to extend if full-width so that is okay. Inside the container, but without the green background will be awesome!
tikvah73MemberI have cleared my browser cache, and emptied my page cache.
I'm repeating this because I want to make sure it is correct before I try it.
So I want to make sure I understand what you are saying, because I am truly a “code hack” and not a programmer (sorry!)
I need to remove this completely from the .php file:
//* Add support for custom header
add_theme_support( ‘custom-header’, array(
‘header_image’ => ”,
‘header-selector’ => ‘.site-title a’,
‘header-text’ => false,
‘height’ => 200,
‘width’ => 1140,
) );and add this
.site-header {
background-image: url(images/logo.png);
height: 200px;
width: 100%;
}Is that right?
tikvah73MemberOh, and does that mean I should put the padding on the site-container back? I honestly couldn't see that it made any difference.
tikvah73MemberI'm sorry I didn't give enough information in my first post.
I did already change the width and height in the .php file using the tutorial here:
I went through your tutorial very carefully and made sure I did everything you said first. It didn't work.
Then, my header designer tried adding some custom code which did not work.
At this point, we are inserting the header image using Genesis Simple Hooks. This is the closest we have gotten it after going through all of these steps.
So I want to make sure I understand what you are saying, because I am truly a "code hack" and not a programmer (sorry!)
I need to remove this completely from the .php file:
//* Add support for custom header
add_theme_support( 'custom-header', array(
'header_image' => '',
'header-selector' => '.site-title a',
'header-text' => false,
'height' => 200,
'width' => 1140,
) );and add this
.site-header {
background-image: url(images/logo.png);
height: 200px;
width: 100%;
}Is that right?
Honestly, I love everything else about Lifestyle or I would be switching to a different theme.
tikvah73MemberAnd I also removed the padding off of the site container. 🙂
tikvah73MemberOkay thank you again for your fast reply. I changed the image size, and it is not making any difference.
tikvah73MemberThank you for responding Brad,
I have already changed that code. That is one of the reasons we are so confused.
June 11, 2013 at 12:08 am in reply to: Footer area displaying vertically instead of horizontally #45180tikvah73MemberOK. I spent the weekend working on speeding up my site, removing stuff, adding a cloudflare account, and according to the pingdom test I just ran it loaded in 6 seconds.
Would you be able to help now?
June 8, 2013 at 11:50 am in reply to: Footer area displaying vertically instead of horizontally #44784tikvah73MemberI appreciate your kind willingness to help. I have to admit I am not sure where to go with the information you provided. For code, I have a header image, an add before the posts, and that's it -- and all extra code I install using Simple Hooks and all other code is Genesis. So, I only have three hook codes in Simple hooks. Regarding scripts, almost everything in my sidebar uses javascript for ads or image links to posts. I have scripts for ads and sidebar content. I also have some scripts within post for inlinkz.com and rafflecopter.com products. I didn't realize that those would slow load time down.
I don't understand what you mean by "loaded with content" on the home page. Too many posts staying on the homepage? Maybe I should take it down to three?
I've loaded my page on three computers I never personally use this morning -- in other words these are computers that haven't opened my website before. The post content loads within five seconds and is fully scrollable, the sidebar content loads in about ten seconds and is fully scrollable and as soon as the sidebar content loads the footer is accessible. However, I will admit that all of the computers we have in the house are fairly new MACs. Maybe I need to see what it does on a friend's PC. And none of my friends use MACs so that I could find an older one to try.
I'm willing to make changes, In fact that is what I have been working on. I've been working hard to grow as a blogger and reading everything I can for months. I've been trying to move "stuff" out of my sidebar, that's what started my whole footer question. I'm just not sure now what I would remove or should remove since I had already paired it down to what I thought were bare necessities.
How many sidebar scripts are acceptable? How do folks who have all of the same "stuff" in their sidebar that I have manage it differently? I was just on a similar page a few days ago that had something like 24 thumbnail ads and way more sidebar content then I have. How does she do that without bombing her site too?
April 8, 2013 at 5:22 pm in reply to: Sidebars Dropping to Footer on Individual Post Pages (Prose) #34148tikvah73MemberThank you. It was a div that wasn't closed. I hate it when I post to the forum too soon. Sorry!
tikvah73MemberOkay I got it. had to use code as above except changing
img src=wp-content/uploads/2013/03/seedsowersflourish1a.jpg
instead of spelling out the whole website and then it worked.
Thanks for helping get me to 99 % solution!
-
AuthorPosts