Loading...
 
Skip to main content

How can elements of a (horiz.) menu be aligned vertically?

Status
Open
Subject
How can elements of a (horiz.) menu be aligned vertically?
Version
18.x
Category
  • Less than 30-minutes fix
  • Support request
Feature
Menu
Resolution status
New
Submitted by
hman
Lastmod by
hman
Rating
(0)
Related-to
Description

I have managed to create a horizontal menu (cf. the bug that menu creation on Tiki 18.8 is impossible) by directly manipulating it's table in the database.

While that has worked, in principle, I do have a layout problem: I want to have, aside from the text, one of the options with a logo. So I created at tiny PNG in the height of the text in the (horizontal) menu, but I cannot adjust the height (vertical position) of this tiny image in relation to the vertical position of the adjacent text. How can I shift either the graphics (currently via img plugin) or the text vertically so that image and text are nicely "in line"?

Ideal would be the vertical center, but if that isn't possible, top or bottom could also do.

I hesitate to render all menu items as solid graphics. From a graphics designer's point of view that would ease things, but slow down initial page load, and/or display nasty ALT text until loading/caching has finished.

Thanks
hman

Importance
5
Easy to solve?
6
Priority
30
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7718
Created
Friday 02 April, 2021 15:49:03 UTC
by hman
LastModif
Friday 02 April, 2021 15:55:54 UTC


Show PHP error messages