• Resolved gjv

    (@garethjohnvaughan)


    I’m using this plugin but the payment block and button overlap all of my existing product information, is there any css that can position the block away from existing, ‘clear’ / pricing or dropdown information?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Clearpay

    (@clearpayit)

    Hi @garethjohnvaughan,

    Thank you for your message.

    It appears that the HTML that the hook for displaying variation pricing is absolute positioned which is causing this challenge. One fix may be to set a larger margin-bottom on the ring-sizes class. The final CSS might look like:

    .ring-sizes {
        margin-bottom: 95px;
    }

    This should be simple for the website team to implement as well as optimise for theme compatibility. Additional CSS may be needed to get it looking just right at different screen resolutions.

    Thank you.

    Thread Starter gjv

    (@garethjohnvaughan)

    Plugin Author Clearpay

    (@clearpayit)

    Hi @garethjohnvaughan,

    Thank you for your message.

    It appears that the CSS is placed before the margin-bottom: 50px and is not taking precedence. There are a number of ways to address this (in order of recommendation):

    1. If the margin-bottom: 50px value is not part of the theme, it can be removed.
    2. Move the newly added CSS further down so that it takes precedence.
    3. Increase the specificity of the selector. I.e.: Replace .ring-sizes with .variations_button .ring-sizes.
    4. Add !important to the value so that it becomes margin-bottom: 95px !important.

    Using only one of the above methods should resolve this challenge.

    Thank you.

    Thread Starter gjv

    (@garethjohnvaughan)

    Thank you, seems to work.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Content overlaps existing product details’ is closed to new replies.