/    Sign up×
Community /Pin to ProfileBookmark

Overide Parent Container – extending child container past parent

Needing help with Bootstrap and plain CSS. Page in question is built within the bootstrap framework and has extra style tags within the page.

page: https://www.asme.org/about-asme/governance

The page section of interest: President section, includes the gray bar background, image, name and quote.

Details at >=1200px:
At screens >=1200px the section appears fine.

  • The graybar extends beyond the page’s container and takes the full width of the viewport

  • Image (scales) overlaps and extends vertically over the gray bar equally at top and bottom

  • President’s name appears underneath the image

  • Quote appears to the right.
  • What needs to be done:
    This section should behave responsively at tablet sizes and greater. What we see at >=1200px should be the same for tablets. In mobile phone, all the elements should stack, and the gray bar should appear behind the content and extend to surround the content.

    See images of what needs to be done for:

  • mobile: https://drive.google.com/file/d/1GrdNAmiBo14cK39ZmTNjlzWFpixmXzsF/view?usp=sharing

  • tablets and desktop: https://drive.google.com/file/d/10zqnYfQ7oAz5AXQKEjcLQSm9iS9-L7KG/view?usp=sharing
  • Any help or steering to the right direction, appreciated.

    Thanks.

    to post a comment
    CSS

    0Be the first to comment 😎

    ×

    Success!

    Help @bxgirl spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 4.30,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @Yussuf4331,
    tipped: article
    amount: 1000 SATS,

    tipper: @darkwebsites540,
    tipped: article
    amount: 10 SATS,

    tipper: @Samric24,
    tipped: article
    amount: 1000 SATS,
    )...