Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7189451
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T19:18:18+00:00 2026-05-28T19:18:18+00:00

https://i.stack.imgur.com/FZyiq.jpg I’ve designed this layout and it works fine in my mind, but when

  • 0

https://i.stack.imgur.com/FZyiq.jpg
I’ve designed this layout and it works fine in my mind, but when i try to make this with CSS things get a little strange.

I have a div with 960px of width and this div is the main content wrapper. I want this gallery div to ignore the width and have 100% of the browser resolution (or another width). Any idea how to do this?

<div id="conteudo" > 
    <div class="exploded-wrapper" id="your_post_here_<?php the_ID(); ?>">
        <div class="exploded" id="your_post_here_<?php the_ID(); ?>">
            <a href="javascript:jQuery('.exploded-wrapper').hide();jQuery('.exploded').hide();" class="close"></a>
            <div class="detalhes">
                <div class="desc_wrapper">
                    <div class="desc">
                        <h2>
                            <?php the_title(); ?>
                        </h2>
                        <?php echo the_excerpt(); ?>
                        <div class="desc_pag">
                   <!--a href="#">1</a>
                            <a href="#">2</a>
                            <a href="#">3</a-->
                        </div>
                    </div>
                </div>                    
                <div class="galeria">
                    <?php the_content('Read the rest of this entry &raquo;'); ?>
            <script type="text/javascript">
    jQuery(document).ready(function() {

        // Using default configuration
        //$("#galeria").carouFredSel();

        // Using custom configuration
        jQuery("#galeria").carouFredSel({
            //items             : 2,
            circular            : true,
            direction           : "left",
            infinite            : true,
            scroll : {
                items           : 1,
                easing          : "swing",                          
                pauseOnHover    : true,
                mousewheel      : true
            }                   
        }); 
    });

    </script>
                </div>
            </div>
        </div>
    </div>
    </div>

for the CSS please use firebug and inspect http://ccrdesign.com/portifolio/

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T19:18:19+00:00Added an answer on May 28, 2026 at 7:18 pm

    One, you can use javascript/jquery to manually set the width of the expanded div to the page width, but this is very hackish and I wouldn’t recommend it.

    What I WOULD recommend is that you reconsider your html structure. Instead of using one content wrapper at 960px width, have your wrapper be 100% width with alternating rows of photos and “empty” 100% divs that you can easily expand. So, abstracted:

    <div class="wrapper" style="width:100%;">
        <div class="row1" style="width:960px;left:50%;margin-left:-480px;height:100px;">
            <div class="gallery photo1">
                <!-- row of photo content -->
            </div>
        </div>
        <div class="row2" ... ...">
        </div>
        ..etc..
    </div>
    

    Your javascript can append a div under the clicked div and set the style to whatever you want, and since the parent div will be 100% width, you can achieve the effect you want. These will stack nicely : ).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a segmented control embedded within a TableViewCell: https://i.stack.imgur.com/4XFML.jpg It works fine on
this is my layout (image): https://i.stack.imgur.com/wPx04.jpg What I want to do is make the
I'm having a problem with layout structure. Here is a mockup: https://i.stack.imgur.com/PFMLi.jpg And code:
https://i.stack.imgur.com/JU3e2.jpg So I am uploading some images but when I run it against some
(This question could be better off on math, but im not sure) https://i.stack.imgur.com/ujPJG.png This
one small issue in my movieplayer..![movieplayer shows like this] 1 : https://i.stack.imgur.com/WujxB.png but i
I am interested in retrieving this type of link from maps.google.com https://i.stack.imgur.com/2rInK.jpg At the
How can i realize an UiTableWiev like this? https://i.stack.imgur.com/8QVb4.jpg I appreciate everyone who gives
Please take a look at this: https://i.stack.imgur.com/9UOhU.jpg The problem: The grid is drawn perfectly
Please look to this picture https://i.stack.imgur.com/A2RB2.jpg i want to get sum of money in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.