Call to Action button moves on different media queries

Discussion in 'HTML & Website Design' started by lionet, May 13, 2015.

  1. #1
    Hello,

    Like in thread, I have some problem with CTA button, its positioned on the image with position relative, on the center, however whenever I resize my browser, the button goes to main content of webpage, how can I make this statis? without any movements whatsoever?

    Regards,
    Igor
     
    lionet, May 13, 2015 IP
  2. lionet

    lionet Member

    Messages:
    20
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    33
    #2
    anyone? !important.
     
    lionet, May 16, 2015 IP
  3. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #3
    Since you show us no code, nor any link to a website where we can see the problem in action, it's not really possible to help you. Provide us with something we can look at, change, and perhaps we can come up with a solution.
    That being said - how is the button positioned? Relative to what? It sounds like it's relative to the page itself, or some wrapper-container - which will of course not work as it's supposed to.
     
    PoPSiCLe, May 16, 2015 IP
  4. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #4
    Oh, it likely works as it's supposed to. What it isn't doing is working as intended. :) Which, of course, is likely due to the OP not grokking in fullness just how the position property works.

    g
     
    kk5st, May 16, 2015 IP
  5. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #5
    That is probably very true :) I will be sure to use that distinction in future comments ;)
     
    PoPSiCLe, May 16, 2015 IP