WordPress.org

Support

Support » Plugins and Hacks » Easy FancyBox » [Resolved] Positioning problem in custom responsive theme

[Resolved] Positioning problem in custom responsive theme

  • Hello ! First, thank you for your work, your pluggin is great.
    However, I have some trouble using it in a custom theme i’m building.
    I use responsives divs with width in % and (i think) because of it, the lightbox does not appears in the right place (position absolute on the left too far) :

    http://www.boogiebox.fr/zrh/?p=57

    I’ve tried to modify that left position on the .fancybox-wrap using css first, and then jquery, but it doesn’t work. I’ve tried to look into the fancybox js files but can’t find the good parameter to change…

    Any help would be really great !! thx

    http://wordpress.org/extend/plugins/easy-fancybox/

Viewing 3 replies - 1 through 3 (of 3 total)
  • I finaly found a way… and that was soooo simple :
    to override any style=”” in an element, just use !important in the css rules. For my exemple :

    #fancybox-wrap {top:10px !important; left:10px !important;}

    Hope it will be useful for someone else.

    However, i can’t fix the centering position yet

    Finaly found the problem : i had to take away some css from the ‘body’ : margin:0 auto and width…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Positioning problem in custom responsive theme’ is closed to new replies.
Skip to toolbar