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 9150957
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T11:41:04+00:00 2026-06-17T11:41:04+00:00

I have a website and its coming out great but I have one problem

  • 0

I have a website and its coming out great but I have one problem I can’t figure out and can’t seem to find the answer online.

http://ginosoftuscany.com/site/

click on a location – and you will see a modal pop over the picture slideshow…

Now the BUG ) when you are view a location drag the window size bigger/smaller and you will see the modal doesn’t follow CENTER, it stays in one place and looks terrible..

Can I add some jquery to reset if the window size is being adjusted?

I will make a jfiddle if you need me to… figure it’s just one line of code.

Thanks,
-O

  • 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-06-17T11:41:05+00:00Added an answer on June 17, 2026 at 11:41 am

    you get the solution in your code

    var winH = $(window).height();
    var winW = $(window).width();
    $(id).css('left', winW/2-$(id).width()/2);
    

    extract it in a nice resize function

    function resize()
    { if(current_id === undefined || current_id === false) return;
      $id = $(current_id);
      $id.css('left', $(window).width()/2-$id.width()/2);
    }
    

    fill your current_id var on popup open, and set it to false on close

    after, only call resize on window resize 🙂

    window.on('resize',resize);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have website working fine before. But now its not able to connect to
I have a website that uses JSP as its view technology (and Spring MVC
I have a website which checks users IP and if its from CA displays
i have a website that is being hosted on www.webhost4life.com. Its a basic asp.net
For example, I have a website which has a dynamically-generated segment of its dom
I have a WordPress website that needs to have its articles in multiple languages.
I have made a website using( Asp.net, c# ) and its content in English
I have embedded a Google Map in my website. I want to change its
I know its a classic problem, but I am too novice to even comprehend
I have a website ready but it doesnt look too good on a mobile

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.