kiwix / web

Bugs, enhancements, ideas for our Web presence
https://kiwix.org
6 stars 6 forks source link

Homepage - Hotspot - French - Extra space #194

Closed ghost closed 1 year ago

ghost commented 1 year ago

Description: In the "Hotspot" header menu, Extra space between the heading and subheading.

Device, OS and Browser Details: All

Priority Medium

Steps To Reproduce:

Expected Result: Space between "Hotspot Kiwix" and "Qu’est-ce qu’un hotspot?" should be proper.

Actual Result: Space between "Hotspot Kiwix" and "Qu’est-ce qu’un hotspot?" is not proper.

Screenshot: 216610257-2e6b8cca-41ec-4cf4-b734-91bfd8d1544b

savin8305 commented 1 year ago

To adjust the spacing between "Hotspot Kiwix" and "Qu’est-ce qu’un hotspot?", we can use the margin property in CSS. By adding a margin-top of 120px to the .et_pb_image img selector.

.et_pb_image img {
  margin-top: 120px;
   position: relative;
}

and

.et_pb_image img {
    margin-top: 120px;
    position: relative;
}

then we meet with our expected output . Screenshot (11830)

Popolechien commented 1 year ago

Fixed.

martin8032 commented 1 year ago

Just a remark: We have the Divi page builder in place on this website. You can adjust spacings easily through the page builder options and don't have to deal with CSS code.