• Resolved phatair

    (@phatair)


    Hi Scott,

    thanks for this great Plugin. Its perfect but i have one problem and i hope you can help me.

    i use a wordpress theme with the boxed layout. I use the tab on the left side.
    The problem is, i dont want to use the tab direct on the left side. It should align with the boxed layout, so the distance to the left side is dynamic.

    If i have my browser in fullscreen, there is a distance of 100px to the boxed layout from the left side. If i reduce the width of the browser the distance of the boxed layout to the left side is reduced too.

    Its very difficult to explain and at the moment my webpage is not online, so i can not send you a link. Do you understand what i mean and is it possible to get this done with css coding?

    Thank you and greetings
    Steffen

Viewing 1 replies (of 1 total)
  • Plugin Author srumery

    (@srumery)

    Hello @phatair,

    To position the tab dynamically, you will need to incorporate JavaScript to pull that off. You can do amazing things with CSS but I am not aware of a CSS solution for this use case.

    With JavaScript, you can access the DOM and run calculations based on positioning and element dimensions. I don’t have code for this but I’m sure you can find some. The code you need will allow you to update the position of the tab, as the browser width changes.

Viewing 1 replies (of 1 total)
  • The topic ‘Dynamic distance from the left side’ is closed to new replies.