Community Forums › Forums › Archived Forums › Design Tips and Tricks › Put Image in Home top – Lifestyle Pro
Tagged: error, lifestyle Pro
- This topic has 9 replies, 2 voices, and was last updated 8 years, 1 month ago by Sherry.
-
AuthorPosts
-
October 26, 2016 at 4:04 pm #195372SherryMember
I am trying to put an image in the Home top of Lifestyle Pro. I do Not want it to link to a post.. just an image .. 633 x 610 .. without all the padding above and below the image.
I tried to make something work.. made a post.. assigned it to a category and then set the sidebar widget to show only uncategorized.
But now the image links to the post .. and there is nothing in the post.
See page here: http://permanentcosmeticsinstitute.com/PCI/
In the old Lifestyle I was able to do this.. but don't know how to accomplish this in Lifestyle Pro.
Thank You,
http://permanentcosmeticsinstitute.com/PCI/
SherryOctober 26, 2016 at 10:07 pm #195383Brad DaltonParticipantOctober 27, 2016 at 7:20 pm #195402SherryMemberThank you for your response.
I tried as you suggested.. but all that shows up on the page is the HTML. I don't know how to put it into the back end so it doesn't just have HTML on the page. Maybe I didn't do it right.. ??
Anyway.. now I have more problems. I am not very good with WP yet. I have been designing my websites in Dreamweaver for years.. so I do know some HTML and css.. but in trying to use it with WP it does not always work. I guess there are things in the default and functions.. and I don't dare mess with those.. it is a lot of very confusing looking stuff.
I made a few more changes in the Editor.. removed the margin at the top.. changed some font sizes.. nothing major.. everything seemed to be OK.
I logged out.. my site seems to be working just fine.. however, I am unable to login now. I get the messages below:
Warning: Cannot modify header information - headers already sent by (output started at /home/pci59/public_html/PCI/wp-content/themes/lifestyle-pro/functions.php:1) in /home/pci59/public_html/PCI/wp-login.php on line 402
Warning: Cannot modify header information - headers already sent by (output started at /home/pci59/public_html/PCI/wp-content/themes/lifestyle-pro/functions.php:1) in /home/pci59/public_html/PCI/wp-login.php on line 415
Warning: Cannot modify header information - headers already sent by (output started at /home/pci59/public_html/PCI/wp-content/themes/lifestyle-pro/functions.php:1) in /home/pci59/public_html/PCI/wp-includes/pluggable.php on line 892
Warning: Cannot modify header information - headers already sent by (output started at /home/pci59/public_html/PCI/wp-content/themes/lifestyle-pro/functions.php:1) in /home/pci59/public_html/PCI/wp-includes/pluggable.php on line 893
Warning: Cannot modify header information - headers already sent by (output started at /home/pci59/public_html/PCI/wp-content/themes/lifestyle-pro/functions.php:1) in /home/pci59/public_html/PCI/wp-includes/pluggable.php on line 894
Warning: Cannot modify header information - headers already sent by (output started at /home/pci59/public_html/PCI/wp-content/themes/lifestyle-pro/functions.php:1) in /home/pci59/public_html/PCI/wp-includes/pluggable.php on line 1174
October 27, 2016 at 8:51 pm #195405Brad DaltonParticipantOctober 27, 2016 at 9:05 pm #195406SherryMemberOMG.. I changed the font from Droid Sans to Open Sans in the Editor but it was not working properly. I have the extension.. What Font.. when I held it over the font it said only sans.
I couldn't figure out what the problem was and after looking around I discovered that in the functions.. or the default or somewhere it said Droid Sans.. so I changed the Droid to Open.
What seems really weird is that the site is up and working fine.. except that the pages are loading a little herky-jerky like.
Crap! Now what do I do? I can't re-install and start all over.. I have spent the last 2 days getting it to look the way it does.
I have only made a couple of other sites using WP. Guess I should stick with Dreamweaver.. hard to teach old dogs new tricks 🙁
October 27, 2016 at 9:09 pm #195407Brad DaltonParticipantPaste the entire content of your functions file in a Github Gist and link to it from here.
October 27, 2016 at 10:24 pm #195410SherryMemberPaste the entire contents in a WHAT ? If I knew what I was doing.. I wouldn't get myself into these messes.
That's the whole problem.. I don't know what a lot of those things are in the Editor. I just change the color to 00FF00 and see what turns bright green.
Anyway.. I went into the Lifestyle Pro folder on my computer and uploaded the original functions.php file back into the lifestyle-pro folder on the server.
I was finally able to log in.. so now let's see if I can keep from messing anything else up.. whew!
Back to the original problem. I tried once again to put a text widget in the home top.. this time I got it right. It looks great.. Thanks!
Meanwhile.. Thank You so much for your help.
Let me know if you can tell me where I need to go to remove some of the padding from below the image.. (above the footer). Do I need to remove the padding from the margin-bottom (see below)
.lifestyle-pro-home .featuredpost img {
margin-bottom: 20px;
margin-bottom: 2rem;
}.lifestyle-pro-home .featured-content .entry {
margin-bottom: 20px;
margin-bottom: 2rem;
padding-bottom: 20px;
padding-bottom: 2rem;
}October 28, 2016 at 1:25 pm #195451Brad DaltonParticipantLine 1042, remove the margin-bottom
.lifestyle-pro-home .content .widget { /* margin-bottom: 32px; */ /* margin-bottom: 3.2rem; */ }
October 28, 2016 at 2:40 pm #195457SherryMemberOK.. fixed it! Thank you so much! I never realize how much I DON'T know until I come into these forums where people like you are sooo knowledgeable.
Also.. I purposely left my old original (circa 1998) site outside of the blog, as I have a Form Mail form for people to fill out to request information.
I don't know how to make that form in WP.. so just linked to the form that is outside of the blog.
Is there a form that I might be able to configure fairly easily?
October 28, 2016 at 6:08 pm #195460SherryMemberI have previously put the following into the functions file of Lifestyle so posts will not have dates:
/** Remove the post info function */
remove_action( 'genesis_before_post_content', 'genesis_post_info' );
?>I tried putting it into the functions file for this site but evidently it doesn't work in Lifestyle Pro.. the post still has a date.
If you know the code.. I would prefer not to have dates on the posts. If the author's name gets eliminated with the code as well that's OK too.
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.