Okay
  Public Ticket #1753277
Fixed height for element under 1024 px
Closed

Comments

  • ovpruga started the conversation

    Our text runs off the white background when the screen size is less than 1024.  I tried using this code from reading solutions for this problem.  It did not help.


    @media only screen and (max-width: 1024px) {
    #layerslider_5 {
    height:auto !important;
    }
    }

    Need the text box to be responsive to the amount of text in the box.

  • [deleted] replied

    Hello ovpruga,

    Thank you for getting in touch with us. My name is Attila and I'm happy to assist you today. I appreciate your patience while we've been working towards your ticket.

    First of all, we're sorry for the delayed response, we had a national holiday and we were out of the office for a few days.

    We've looked into this issue and it is caused by your theme. In this file: https://research.uga.edu/wp-content/themes/research/cssautoload/style.css on line 252. there is the following code: 

    p { 
    font-size: 16px !important;
    font-weight: 300 !important;
    padding-top: 10px;
    }

    As you can see it forces every P element to be font size 16px with an !important statement.

    As it's a theme issue, it can only be adjusted by them ultimately. But until then as a quick workaround you can stop using P elements and use other text layer types instead or even HTML layers.

    Or you could also try to open this theme file and delete that code to see if that helps.