Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #754033

    Hello,

    ist it possible to open the content text of a accordion as an overlay?
    I am using 4 columns and the text gets too long vertically.
    Here is an image:
    Link

    This quick css doesn’t work:

    .toggle_wrap active_tc {
        position: absolute !important;
        width: auto !important;
        max-width: 300px !important;
        border-top: 0 !important;
        padding: 0 !important;
        z-index: 30 !important;
    }
    
    div.toggle_content {
        z-index: 30;
        overflow: hidden;
        overflow-y: auto;
        border: 0px solid transparent;
        border-radius: 0 0 5px 5px;
        border-top-width: 3px;
        padding: 5px;
        position: relative;
        min-width: 40px;
        max-height: 300px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        background-color: #930270;
        font-color: white;
    }
    #754915

    Hey Neverlands,

    I’m not sure I understand what you are looking to achieve, could you post a screenshot highlighting your intentions maybe?

    Best regards,
    Rikard

    #755584

    Hi Rikard,

    thanks for your reply!
    My intention is that – if you click on the accordion “read more” button – the accordion text does not open below but as a box infront of anything else.
    Here is an image: image

    Best regards,
    Neverlands

    #758223

    Hi,

    If you like to get started on your own try the below css

    .toggle_content {
        position: fixed;
        z-index: 9999999;
        width: 80vw;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    You will still need to add a jQuery function to close the content window and reset the css styles on the accordion tabs. Unfortunately it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However if its really important for you to get this done, you can always hire a freelancer to do the job for you :)

    Best regards,
    Vinay

    #758251

    Hey!

    I’m sorry but that feature will require modification that is outside the scope of support. Please hire a freelance developer or contact our partner, Codeable.

    // http://kriesi.at/contact/customization

    If you like, instead of the accordion element, you can open an inline content inside a lightbox.

    // https://kriesi.at/support/topic/code-snippet-inline-post-content-popup-magnific-popup-shortcode/

    Cheers!
    Ismael

    #758291

    Many thanks for your replies!
    Since the new theme update I am now using the Tab Section feature which perfectly fits my needs.

    Best regards,
    Neverlands

    #758749

    Hi Neverlands,

    Great, thanks for the feedback. Please let us know if you should need any further help on the topic or if can be closed.

    Best regards,
    Rikard

    #758876

    The ticket can be closed, thanks :)

    #759314

    Hi,

    Thanks for letting us know. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Text Accordion – content as overlay?’ is closed to new replies.