• Resolved AyeAaron

    (@ayeaaron)


    Hi my blog is http://thedeadmothersclub.net/ and I added some css positioning tags to get my logo in the correct place (right justified on the left hand sidebar) but this css tag also affects the image in the post (pushing it way far to the left). How can I separate these two so my post image stays in the center of my blog and my logo stays right where it is?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator Kathryn Presner

    (@zoonini)

    Put your CSS styles on #logo

    Thread Starter AyeAaron

    (@ayeaaron)

    Thank you. I did what you said and my logo changed positions too. Will you take another look for me please?

    Moderator Kathryn Presner

    (@zoonini)

    I was giving you advice on how to change the position of your logo only. Not sure why it would affect images in your posts as well.

    Can you copy/paste the bits of CSS that you are trying to edit, here? Be sure to apply the “code” formatting by selecting it and clicking the “code” button above.

    Thread Starter AyeAaron

    (@ayeaaron)

    Here is my sidebar code:

    [please use a Pastebin to post large chunks of code, following forum etiquette Please only paste the relevant pieces of CSS.]

    Thread Starter AyeAaron

    (@ayeaaron)

    Here is my sidebar php code:

    http://pastebin.com/7sjxZMPY

    Here is my css code.

    http://pastebin.com/RvjfvbPK

    Thank you, let me know if you need all of the css code posted.

    Moderator Kathryn Presner

    (@zoonini)

    Suggestion: put your logo class on your image tag instead of the anchor tag and change it to an ID instead of a class because you have only one logo and it matches your CSS.

    <a href="/"><img id="logo" src="http://thedeadmothersclub.net/wp-content/themes/yboris/dmcheader.png"; ?>

    See if that works. This shouldn’t affect images in your posts unless for some reason you’re giving images in your posts an ID of “logo.”

    Thread Starter AyeAaron

    (@ayeaaron)

    Great. Thx.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘css img tags’ is closed to new replies.