1. lazyroby
  2. Sherlock Holmes
  3. Commercial Templates
  4. Thursday, 01 July 2021
  5.  Subscribe via email
Hi Ciaran, I have an issue in Nadia Template:

I use position bottom-2a for a short text and 2 horizontal lines. The text and horizontal line is not displayed correctly in mobile view. On desktop view it is good instead. In mobile view the second text line is overwritten by the lower hr. module-height On an other of my pages height-2 the lower part of the bottom-2a text is cut off on mobile view.

It seems that the height of the module (position) is not correct, or a relation of the height. What I want is that the height of the module depends on the amount of text or paragraphs. It should not be cut off. See attachments below as well.

Hope you can help me! Yours, Robert
Attachments (2)
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Robert

Firstly remove the following inline style in your blockquote paragraph tag. It is this that is causing the overlap.

margin-top: -40px; margin-bottom: -100px;


Secondly, try adding the following to your custom CSS field to apply the same styling to only larger screen devices...

blockquote > p {
margin-top: -40px !important;
margin-bottom: -20px !important;
}
@media only screen and (min-width: 768px) {
blockquote > p {
margin-top:-40px !important;
margin-bottom: -100px !important;
}
}


Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you!
  1. more than a month ago
  2. Commercial Templates
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!