Need help? Check out our Support site, then


Adding Widget to Post.Info Area of Wu Wei Theme

  1. I've been told that using CSS it's possible to add a text widget under the page title (post.info) for the Wu Wei theme by first creating in the bottom sidebar and sliding it up the side of the page. I wondering how to do this and if its possible to place a graphic image there rather than text.

    If anyone can help, I would be greatly appreciate it.

    The blog I need help with is makingwordscount.net.

  2. You can either put an image in a text widget, or you can use the image widget. One that widget is created and placed in the bottom bar, then you can use position absolute, top and left declarations to move the widget up under the post info section.

    http://en.support.wordpress.com/links/text-widget-links/
    http://en.support.wordpress.com/widgets/image-widget/

  3. We can't really do anything until you have the widget in the bottom bar.

  4. Hi, The support links were super easy to follow - if only they had them for everything.

    I was able to add an image to the bottom of my footer and have to figure out how to play with sizing. I'm assuming I have about 70em or 900px to work with in total as a page area and for a small picture to fit on the side of the main body of copy maybe 200px. I tried narrowing the center.column width and widening the width of my page.info area but it didn't keep the appearance of the page.info in its own column. The page title just moved over the page copy.

    Also wondering what language determines the padding? between the 3 columns in the footer? Thank you again - !

  5. thesacredpath
    Staff

    For the area under the title, figure about 190px in width as far as I can see. The first thing I had to do was to declare a left margin for .center-column so that the left side of the theme was "fixed." For the widget, what I did was to look at the source and find that the image widget was designated as id=image-2. I then created the the CSS to move the widget up under the title and then aligned it to the left so that it.

    .center-column {
    margin-left: 115px;
    }
    
    #image-2 {
    position: relative;
    left: 100px;
    top: 250px;
    }

    Give this a try and see what you think. @hallluke might have another way of doing this so that the image will float with the browser window width in relation to the rest of the elements. He is much better at CSS than I am.

  6. To change the spacing between the footer widgets you can use the following code:

    #footer-widgets .widget-area {margin-right:3em;}

    If you want to add an image under your blog title it is probably easier to specify it as a background image to one of the header elements, maybe the tagline/description.

    Can you post a link to the image you want to use and a bit more of an explanation to how you want everything to appear?

  7. AGH!! I learn something with every change and on occasion change something I don't know how to fix. In this case my post-content is not flush with the post-info.

    Thank you SacredPath and Hallluke. I have a better grip on how these footer margins work and made the change. I was able to insert an image in the footer but not move to the side which I suspect has something to do with the margin choices I made below:
    .center-column {width:68.334em;margin-left:200px;}
    .post-info {width:220px;margin:.5em 1em 0 0;}
    .post-content {width:50.333em;margin:.5em 1em 0 260px;}

    In any case, I've realized late, that an image box on the side, won't let me change the image for each page which was the trickery I was attempting. I apologize, I should have realized that earlier. I wanted to put the image in the blank space under the post-info rather than in the post.content.

    Thank you again for all your help and patience.

  8. thesacredpath
    Staff

    Remove the "margin" stuff from .post-content to get the page body copy back up beside the title.

  9. And it worked! Thank you!

    Is my idea of putting images under the page.info unworkable with the Wu Wei theme?

  10. I can't think of a way to put a different image (widget) under the post info that would really work. Well, OK, I can, but it would be a ton of CSS work since you would have to "hide" the other widgets on each page.

    What can be done though is to use inline CSS on an image that is put into the post itself. Basically you insert the image, left aligned, right at the beginning of the post and then use position, top and left properties to move the image over and under the title.

  11. Thank you SacredPath,

    So I code in the page post area in html view the image to be left aligned but do I need to change the CSS settings to get the image to be under the page title and then create some sort of padding around the image area (the whole left side of page) so the copy continues to fall down one side?

  12. Hi,

    Any interest in helping me solve question about playing with page images and columns?
    Please....

  13. thesacredpath
    Staff

    Do you have a post up with an image in it so that I can take a look?

    [One note: now that we are not repositioning a text widget, remove the margin declaration from .center-column on your CSS.]

    The image that you will put into the post needs to be no more than 220px in width so it matches the width set for .post-info.

  14. thesacredpath
    Staff

    The problem I have is that your CSS is modified, so if I use my test blog with the stock Wu Wei theme, what I'm giving you can only be used as a guide.

    1. Insert an image left-aligned at the very beginning of the page or post (220px max width).
    2. Switch to the HTML tab and add the margin-left and margin-top inline CSS to the image code (you will have to adjust the numbers to get it to work with your customized theme).

    style="margin-left:-240px;margin-top:120px;"

    You can see an example here: http://allthekingshorses.wordpress.com/

    Do remember that in doing it this way, if you ever change to a different theme, you will have to edit things, and if it is a more standard designed theme (title above post/page content) you will have to edit each page and post to get rid of the inline CSS that moved the image over in Wu Wei

  15. The delight still hasn't worn off for me. It worked! Thank you!

    I find the way the margin works counterintuitive - to push further left I increase the pixels rather than decrease. But one day it will all make sense. You have such an apt username.

  16. The margin-left will will move the image to the right when you use a positive number. If you use a negative number, it will move the image to the left.

    You are welcome, and thanks.

  17. Sacredpath,

    My friend suggested I add a splash page - is that possible? I hide the visibility of the page.info and just have the page.content appear? I guess that could get very annoying if someone was to visit more than once in a day

  18. thesacredpath
    Staff

    Splash pages are a bad idea for several reasons as outlined here: http://webdesign.about.com/od/navigation/a/aa020303a.htm .

    The main things are that people are tired of them and don't like them and the absolutely will kill your search engine ranking since there is virtually nothing for a search engine to get its teeth into.

    My advice, don't do it.

  19. Yes - excellent reasons. Thank you again.

  20. Easy question. Have you noticed that you can create a page and uncheck the sharing button box and you still see the blog comments box appear? I've checked the box, unchecked the box and saved and it's still showing up on one or two pages.

    I'm sure it's another duh moment for me.

  21. thesacredpath
    Staff

    Comments and "sharing" are two different things. If you want to turn comments off for a page or a post, do that in the discussion module below the text area in the post or page editor.

  22. Yep - it was a duh moment. I had them all hidden in my screen options. Grazie!

  23. Today's puzzle. Is there a way to add a hyperlink that just moves you to a place further down the page? Or maybe someway to hide text until you click on highlighted words? and it expands. I can do it in word!

  24. thesacredpath
    Staff

  25. Thank you - so much new vocabulary!

  26. You are welcome.

  27. Hi Sacred Path, I've a few questions I wanted to clean up if you can advise:

    1. Haven't found the right code to move my .main-menu to line up with my header and copy.
    2. Was wondering how I extend the thin grey line before the sidebar(footer) to run all the way across the page
    3. Can I make the background color for the sidebar and the navigation menu a different color than the white of the center column?
    4. Why is the "submit" button on my contact form so small?

    Any help appreciated.
    Patricia

  28. @makingwordscount
    The "submit" button is not small. I'm using the average screen resolution size. I am visuallu challeneged. When I view your blog the fonts are so large I have to sise the CTRL key and - (munus size) key to reduce the font size on the whole site to one that's comfortable for me to read. Then I'm faced with a scroll bar across the bottom of my screen as the whole theme has been made wider. I know you probably don't want to hear this but there are many people out here who do not have desk top large monitors, or who are on laptos, or who are viewing blogs with mobile devices.

  29. I apologize for the typos above -- sorry :(

  30. Try out this code:

    .menu-main {margin-left:189px;}
    .full-column {background-color:#eee;}
    body #footer-widgets {border:none; margin:0 auto; width:62em; padding:1em 0 0;}
    .center-column-sidebar {position:absolute; left:0; width:100%; background-color:#eee; border-top: 1px solid #D1D9DC;}

    You might want to reformat the first text widget in your sidebar area as the copyright information looks a bit messy. You'll definitely have to show the regular footer as hiding the attribution text (wordpress home and theme links) is against the Terms of Service and could get your blog suspended. Alternatively you could just include these links in one of those widget areas.

Topic Closed

This topic has been closed to new replies.

About this Topic