Page 1 of 1

menu items only appear when hovering over them

Posted: Thu Dec 09, 2021 3:23 am
by panagyro
I am using the template
fhs_basic
with slideshow.

Problem:
The menu at the left has all its items, but ONLY THE ONE I AM HOOVERING ABOUT IS VISIBLE !

what can be wrong?

Question:
how can the menu be formatted (background color, font color,...)

thank you

Re: menu items only appear when hovering over them

Posted: Fri Dec 10, 2021 7:01 am
by frase
panagyro wrote:
Thu Dec 09, 2021 3:23 am
what can be wrong?
Unfortunately, it is not clear from your description what changes you have already made. Without seeing the site, help is hardly possible.
panagyro wrote:
Thu Dec 09, 2021 3:23 am
how can the menu be formatted (background color, font color,...)
One possibility would be to right-click on the elements in question and examine them. This will help you find the appropriate places in the stylesheet.css that you need to change.

Probably the values for background and font color are identical (for .secmenu li a, .secmenu li span - stylesheet.css, line 716).

Re: menu items only appear when hovering over them

Posted: Fri Dec 10, 2021 6:31 pm
by panagyro
thanks for the answer.
1) The site can currently be seen (very crude Testversion!!) with
http://mov.ruthagency.net/

2) I made no changes to menu css, in particular no :hover

3) With
Inspect (Q)
I can make changes and see them, but they are not saved! When I move from the element all is like before.
how can save these changes ?
Sorry, but I could not find answers in the doc.

Re: menu items only appear when hovering over them

Posted: Fri Dec 10, 2021 11:23 pm
by cmb
Have a look at the file templates/fhs-basic/stylesheet.css starting at line 733:

Code: Select all

.secmenu li a,
.secmenu li span {
	text-decoration: none;
	padding: .5em;
	display: block;
	color: #fff;
	background: #fff;
	border: 0;
}
color and background should have different colors. For instance, try:

Code: Select all

.secmenu li a,
.secmenu li span {
	text-decoration: none;
	padding: .5em;
	display: block;
	background: #fff;
	border: 0;
}

Re: menu items only appear when hovering over them

Posted: Sat Dec 11, 2021 12:15 am
by panagyro
thanks! seems to work now.

May I abuse to ask another question?

When I select menupoints which have submenus (e.g. "preocupaciones"), I get the page, but a mysterious "submenu" structure is added to the page text, see screenshot in attachment.

Where does it come from and how can I get rid of it?
thanks for a hint.

Re: menu items only appear when hovering over them

Posted: Sat Dec 11, 2021 7:09 am
by frase
panagyro wrote:
Sat Dec 11, 2021 12:15 am
When I select menupoints which have submenus (e.g. "preocupaciones"), I get the page, but a mysterious "submenu" structure is added to the page text, see screenshot in attachment.

Where does it come from and how can I get rid of it?
The submenu is intended to provide the visitor with a reference to the existing subpages at the end of the text.

If you do not want this, then delete this line in the template.htm:

Code: Select all

<div class="submenDiv"><?=submenu('<span>%s</span>');?></div>

Re: menu items only appear when hovering over them

Posted: Sun Dec 12, 2021 3:18 pm
by panagyro
thank you.