WordPress.org

Ready to get started?Download WordPress

Forums

Spun
Full Width Image (9 posts)

  1. rtwill06
    Member
    Posted 8 months ago #

    How do I make a static image span the full width of the screen?

  2. Andrew
    Forum Moderator
    Posted 8 months ago #

    Position it absolute and give it a 100% width - other than that you'll need to restructure the template that you're using so that the image doesn't have a HTML element that constrains its width.

    Set up a Child Theme if you haven't already: http://codex.wordpress.org/Child_Themes

  3. rtwill06
    Member
    Posted 8 months ago #

    I do have a child theme set up. The post in question is here http://rtwill.com/?p=232. I would like the image in between the text and the slider to span the width of the screen. Is there a way for it to responsively size to the width of the page? There is a CSS constraint but changing that changes the width of the content column and not just the image.

  4. Andrew
    Forum Moderator
    Posted 8 months ago #

    How did you put the slider in there?

  5. rtwill06
    Member
    Posted 8 months ago #

    Its an easy rotator plugin.

  6. Andrew
    Forum Moderator
    Posted 8 months ago #

    How did you put your slider on that page, is it in the code (in the file)?

  7. rtwill06
    Member
    Posted 8 months ago #

    Nope its just a plugin. It doesn't alter the CSS at all and I don't think the HTML either. I just insert a given slider into whichever post I choose. Here's the link http://www.dwuser.com/easyrotator/.

  8. Andrew
    Forum Moderator
    Posted 8 months ago #

    Is it possible (theoretically for now) that you can put the slider in the actual code of the template file in-use?

    What you need to do is break up your template file so that it closes its parent and width-constraining <div> element before you use the image that you want to span 100% width. Then you need to open the same parent element that you closed, open it after the image element that you want to span 100% width. You'll probably have to make a new template file.
    That may result in another issue with duplicate page IDs and to resolve that you need to restructure your CSS.

    Envisaging the amount of work you have ahead of you for this modification I recommend you hire someone to assist you or do the work for you;
    http://jobs.wordpress.net/
    http://directory.codepoet.com/

  9. rtwill06
    Member
    Posted 8 months ago #

    Wow that certainly seems like a lot of work that I don't have the expertise for. I'll look into possibly hiring someone. Is there really no other way?

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.