Forum Replies Created

Viewing 15 replies - 1 through 15 (of 16 total)
  • First 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’);

    Thread Starter lqz

    (@lqz)

    “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.

    Thread Starter lqz

    (@lqz)

    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.

    Thread Starter lqz

    (@lqz)

    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.

    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.

    Thread Starter lqz

    (@lqz)

    Thanks 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.

    This is where I have to get off. I’m a Mac user.

    Best off luck,

    lqz

    Thread Starter lqz

    (@lqz)

    options > discussion > “Allow people to post comments on the article”

    Uncheck that and you won’t have to remember to turn off comments on new posts.

    You can turn off commenting on your old posts one by one, or you can try the code here.

    Have you tried akismet ?

    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.

    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.

    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?

    Thread Starter lqz

    (@lqz)

    Thanks 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.

    Thread Starter lqz

    (@lqz)

    bump

    Could someone please tell me if I got this thing right.

    If 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.

    Thread Starter lqz

    (@lqz)

    What 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.

Viewing 15 replies - 1 through 15 (of 16 total)