Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #971863

    I would like to present the team on our site (https://drzup.de/team/). I represent three people in a row, so I use 1/3 boxes.
    I would like to place an image, a text below and an accordion below. But if the text is not exactly the same length as the other two, the accordion will not be displayed at the same height as the other two.

    If I place the accordion in another box below it I have the problem in the mobile view that the order of the representation (picture, text, accordion) is no longer correct.

    What can I do?

    #972122

    Hey nimo1024,

    Could you post a link to the page in question so that we can take a closer look please?

    Best regards,
    Rikard

    #972373

    The Link is: https://drzup.de/team/

    #972846

    Hi nimo1024,

    The accordion has to be in the same container with the image and the text and just try to adjust alignment with css.

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #972906

    And how can I adjust with css?

    #973359

    Hi nimo1024,

    Did you move the accordions to the same containers?

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #973367

    I did!

    #973760

    Hi nimo1024,

    Thank you.

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    @media only screen and (min-width: 768px) {
    
      #after_full_slider_1 .avia_textblock  {
        height: 125px;
      }
      #after_full_slider_1  .flex_column.av_one_third.avia-builder-el-18  .avia_textblock,
      #after_full_slider_1  .flex_column.av_one_third.avia-builder-el-22  .avia_textblock ,
       #after_full_slider_1  .flex_column.av_one_third.avia-builder-el-26  .avia_textblock {
        height: 200px;
      }
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #974088

    Thank you so much for working so far.

    Now, however, the problem is that between the H2 and the dividing lines is a large distance.

    #974627

    Hi,

    Thanks for the update. What do you mean by “dividing lines”? Mind sending a screenshot? Use imgur or dropbox.

    Best regards,
    Ismael

    #974642
    #975071

    Hi,

    Thanks for the screenshot.

    The css code above is being applied to every text blocks in the page or the section after the full width slider. Please turn on the custom css class field so that you can apply custom selectors to the appropriate text blocks. Use that selector in place of the generic “avia_textblock” selector.

    // https://kriesi.at/documentation/enfold/intro-to-advanced-layout-builder/#turn-on-custom-css-class-field-for-all-alb-elements

    After adding the custom css class attribute of your choice, you can apply it to the above css code like so.

    @media only screen and (min-width: 768px) {
    
      #after_full_slider_1 .custom-css-class {
        height: 125px;
      }
      #after_full_slider_1  .custom-css-class,
      #after_full_slider_1  .custom-css-class ,
       #after_full_slider_1  .custom-css-class {
        height: 200px;
      }
    }

    Replace “.custom-css-class” with your own.

    Best regards,
    Ismael

    #975846

    Hello,

    I should remove the code from Quick CSS?
    After I have activated the custom css class field, where should I insert the described code and especially for which element? Custom CSS class of the textbox under the images?
    What does “Replace “.custom-css-class” with your own.”?

    #975937

    Hi nimo1024,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    @media only screen and (min-width: 768px) {
    #after_full_slider_1 .headers .avia_textblock {
      height: auto;
      min-height: 50px;
    }
    
    body .container_wrap .headers .hr.avia-builder-el-last {
      margin: 0;
    }
    .togglecontainer.move-higher {
        margin-top: 10px;
    }
    }
    

    I added the class to the two accordions at the bottom and adjusted their margins. I added the code to Quick css. Please check the page.

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #977969

    On the page the problem has been solved, but now other pages are completely moved and contracted.

    #980748

    Hi nimo1024,

    Try the code like this instead:

    
    @media only screen and (min-width: 768px) {
      .page-id-692 #after_full_slider_1 .headers .avia_textblock {
        height: auto;
        min-height: 50px;
      }
    
      body.page-id-692 .container_wrap .headers .hr.avia-builder-el-last {
        margin: 0;
      }
      .page-id-692 .togglecontainer.move-higher {
          margin-top: 10px;
      }
    }
    

    If you need further assistance please let us know.
    Best regards,
    Victoria

Viewing 16 posts - 1 through 16 (of 16 total)
  • You must be logged in to reply to this topic.