Columns and Photos

  • Unknown's avatar

    Hello,

    I am using the Arcade theme.

    I have two questions:

    1. Is there a way to have a two columned area and a one columned area. I want t span a photo across the page. I currently have two columns on this page. http://ifdcorg.wordpress.com/bangladesh/?preview=true&preview_id=327&preview_nonce=1d0dcbe5c0

    2. How do I successfully span a photo across the width of the browser window?

    Thanks.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Can you explain a little more exactly what you are wanting to accomplish? I see a full-width image on that page set as “fixed” using a style attribute in the image code. With position: fixed though, the image will come to the top above the other content in the div. Add the following to the style declaration in the image code you have to drop the image back behind the entry content.
    z-index:-1;
    The following will then add a slightly transparent white background to the entry content so that it is readable above the image. You can adjust the level of transparency/opacity by adjusting the last number (0.65). The closer to 0 that number, the more transparent and the closer to 1, the more opaque. I also added a bit of left and right padding so the text isn’t flush up against the edge of the translucent white background.

    .page-id-327 .entry-content {
        background-color: rgba(255, 255, 255, 0.7);
        padding-left: 20px;
        padding-right: 20px;
    }
  • Unknown's avatar

    Thanks. I want to picture to come before the text. So it should be the picture and then the text (which should be on white background). Here is an example http://splash.org/.

    See how it goes from full width photo to another content area. This is what I’m looking for.

  • Unknown's avatar

    Here is my code. Sorry I’m still not that great with CSS.

    <div><img style=”z-index:-1;position:fixed;top:330px;left:0;width:200%;” src=”http://ifdcorg.files.wordpress.com/2014/07/bangladesh_lg.png” alt=”” /></div>

    <div>
    <h3>ABOUT BANGLADESH</h3>
    Bangladesh, although only roughly the size of Tajikistan or Iowa, is one of most densely populated nations in the world with approximately 163 million people. 36% of Bangladeshi’s live in poverty.

    Environmental issues facing the country include soil degradation, erosion and water pollution from overuse of fertilizer and crop protection products, as well as pollution from naturally occurring arsenic.

    Nearly two-thirds of Bangladeshi’s are employed by the agriculture sector, with rice as the single most important crop. Other agricultural products include jute, tea, wheat, sugarcane, potatoes, tobacco, pulses, oilseeds, spices, fruit, beef, milk and poultry.</div>

  • Hi there,

    I am just checking in with you to see you were able to resolve the issue you were asking about here. Please let me know if you still need help!

  • The topic ‘Columns and Photos’ is closed to new replies.