lqz
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How would I add a Background ImageFirst thing, you shouldn’t post code like that it just takes up space. If you don’t have an idea of where in the code you want to change things. Wait until someone asks, then post the code they would like to look at.
As for your question.
If you want the image in the ‘body’, add the following line to you
body {
background-image: url(‘path_to_image/image.jpg’);
}If you want it in the ‘sidebar’,
#sidebar {
background-image: url(‘path_to_image/image.jpg’);
}Go here for more info:
https://www.w3schools.com/css/css_background.asp
You can find better sites if you do a Google search. This one just gives you some really basic pointers. There is a lot of good info on CSS out there, next time try Google before you wait two hours for someone like me to reply.Good luck.
p.s.
If your image folder is in you theme folder, you just need
background-image: url(‘folder_name/image.jpg’);
Forum: Fixing WordPress
In reply to: WP CMS-help me put the pieces together.“So if that’s where you’re expecting to display it in your sidebar”
I’m not trying to display this in the sidebar, I want it in the body like on this page.
The following didn’t work for me, so I was wondering if I could do something like it.
{
<?php
$cat = $post->post_name
$cat = $cat[0];
$posts = get_posts(“category=” . $cat->cat_ID . “&order=asc&numberposts=10000”);
if( $posts ) :
?>
}I’m not sure why I can’t use that or $cat_ID = $post->post_name in place of $cat = get_the_category() to set the category for the code.
Thanks for your help again.
Forum: Fixing WordPress
In reply to: WP CMS-help me put the pieces together.RE: Page slug
I screwed up and the code you gave was good. I had code above it that messed things up.
RE: $cat = get_the_category()
I would still like an answer as to if I could set the category from in The Loop. Or if I could use $cat = $post->post_name, $cat_ID = $post->post_name or something else to set the category for the second bit of code.
Forum: Fixing WordPress
In reply to: WP CMS-help me put the pieces together.RE: Page listing the titles in a given category
I use the Category Template system to list all the post in a category.
I did think of using Category Template for this. But then I would have the problem of trying to automatically list all the post in a category on a Page.RE: Page slug
That didn’t work for me. I typed it in then cut and pasted it in and still no go. I don’t even get an error, it just doesn’t list anything.
RE: $cat = get_the_category()
Given that I can’t set a Page’s category in the Admin panel. Is there a way to set it in The Loop.
Also why can’t I do $cat = $post->post_name or something like that to set the category for the rest of the code.
Thanks for your help.
Forum: Fixing WordPress
In reply to: how to link header image?This is the code I have for want you want to do hope it works.
<div id=”header” onclick=”location.href=’<?php bloginfo(‘url’); ?>’;” style=”cursor: pointer;”
<a href=”<?php bloginfo(‘url’); ><?php bloginfo(‘name’); ?></a>
<div id=”description”><?php bloginfo(‘description’); ?></div>
Replace the code you posted with this, you then have that go into your CSS file and add the image you want to background under #header.
Forum: Plugins
In reply to: Getting comments so I can get a GuestbookThanks for your reply spirit892 but that’s not what I’m looking for. I did find a plugin called wp-guestbook and was able to play around with it to get something I like.
Forum: Themes and Templates
In reply to: After Uploading Theme, no image….This is where I have to get off. I’m a Mac user.
Best off luck,
lqz
Forum: Plugins
In reply to: Getting comments so I can get a GuestbookForum: Themes and Templates
In reply to: After Uploading Theme, no image….I’m running 2.01, I installed green-marinee into…
wp-content > themes > green-marinee > theme files
It worked for me.
You said that FileZilla was giving you problem with uploading the theme. If you had just install WordPress maybe FileZilla didn’t get all the files up.
Edit:
If you have tried something other than FileZilla and it’s still not working. I would contact the web host and see if it’s something on their end. Have you started with a knew ISP maybe they are blocking the files some how.
Forum: Themes and Templates
In reply to: child pages –> css of main page template.I would like to know how you did that? Post the css for your sidebar, menu, side, whatever it is your theme calls it.
In all the themes I have played around with adding a font-size to #sidebar ul ul li will make page and child page look the same.
Forum: Themes and Templates
In reply to: After Uploading Theme, no image….Which theme are you using? I don’t think the blank box under presentation is the issue because if there is no screenshot of the theme there is no preview. Can you get back in to Presentation to switch back your theme?
Forum: Themes and Templates
In reply to: New Theme: Fixed Width SimpleThanks for your replies, I guess I didn’t forget anything because someone is using it.
There is only one more thing I need to find out, what is the email address for themes.wordpress.com? I have looked, as far as I can tell it’s not on the site.
Forum: Themes and Templates
In reply to: New Theme: Fixed Width Simplebump
Could someone please tell me if I got this thing right.
Forum: Themes and Templates
In reply to: How to list post titles under categoriesIf you tell how to post code I will post the code you need.
Edit:
Read this.https://www.ads-software.com/support/topic/69799?replies=7
I am assuming you have or ready set up category templates.
Forum: Themes and Templates
In reply to: Looking for a static sidebar themeWhat I mean by static is non-scrolling, I think the CSS value is called fixed. I want the content of my site to scroll and have the sidebar stay on screen at all times.
Podz I did take a look at that link but couldn’t figure out how to find what I wanted. I can look up “right sidebar” but I can’t tell if the sidebar is static/fixed.