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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T10:19:35+00:00 2026-06-03T10:19:35+00:00

I am having problems getting jQuery to click on the images in the footer

  • 0

I am having problems getting jQuery to click on the images in the footer because of the margin: -107px 0 0 0; style applied to the footer. I don’t understand why this is causing a problem as I can still see the images in the DOM when I inspect the website. I also noticed that I am having problems highlighting the words “Grilled Chicken Pesto Sandwich” in the footer, and I believe this is also because of the margin: -107px 0 0 0; style applied to the footer.

Link to website

//jQuery
$("footer #thumbs ul li figure img").click(function() {
  var id = $(this).attr('id');
  $.backstretch(images[id]);
  $('html').css('background-size', 'cover');    
});

//css
footer {
  margin: -107px 0 0 0; //The -107px is causing the problem
  width: 100%;
  height: 107px;
  background: url(../img/bottom.png) repeat-x;
}

//html
<footer>
  <div id="thumbsDesc">Grilled Chicken Pesto Sandwich</div>
  <div id="thumbs">
    <ul>
      <li><figure><img id="0" src="img/01.jpg"></figure></li>
      <li><figure><img id="1" src="img/02.jpg"></figure></li>
      <li><figure><img id="2" src="img/03.jpg"></figure></li>
      <li><figure><img id="3" src="img/04.jpg"></figure></li>
    </ul>   
  </div>
</footer>
  • 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-03T10:19:36+00:00Added an answer on June 3, 2026 at 10:19 am

    You need to decrease the z-index of the wrapper class, I tried this on firebug and I was able to select the text and click the images. No need to increase foot z-index
    I used -10 for the wrapper

    Edit: also if you remove the position relative on the wrapper, it works too so you can do whatever you think is best suited for all browser, I only played with this on FF

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

Sidebar

Related Questions

I am having problems getting the JQuery Library Rounded Corners to work in IE.
I am new to jquery mobile, and am having problems getting content I have
I am having problems getting at a click event of a button and am
I'm having problems getting a div to appear using jquery after 5 seconds. right
I am having this function in jQuery where I'm getting new posts with AJAX
I'm having problems getting the SimpleModal jQuery plugin to close when the body is
I'm having some problems with this jQuery....I'm new to it. It looks like it's
I've been having problems getting jqGrid to sort. I'd like to preferable do this
I am having problem getting my tooltip to work when using the jQuery load()
Super weird problem here. I'm having trouble getting jQuery to bind any selectors except

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.