Header Navigation: Cannot select in Edit Mode
Permalink 1 user found helpful
Hi all,
I am still a newbie with c5. I have the following problem:
I enter Edit mode and see my header navigation with its standard typography style (the red dotted border) but I can`t select it. Anybody had this issue before? I am not sure why...
Any hints or comments or sth. like that are welcome.
Thx,
StayArrr
I am still a newbie with c5. I have the following problem:
I enter Edit mode and see my header navigation with its standard typography style (the red dotted border) but I can`t select it. Anybody had this issue before? I am not sure why...
Any hints or comments or sth. like that are welcome.
Thx,
StayArrr
Thx for your reply.
Hm... As you say, I just need to put it into the right location and changing the style. Hm, doesen`t work :/
I still can`t click. I double checked that the element is the right!
EDIT: It works, thx alot to the reply ;)
Hm... As you say, I just need to put it into the right location and changing the style. Hm, doesen`t work :/
<div id="headerNav"> <?php $a = new Area('Header Nav'); $a->display($c); ?> <?php if($c->isEditMode()) { ?> <style type="text/css"> #headerNav{ z-index:100; } </style> <?php } ?> </div>
I still can`t click. I double checked that the element is the right!
EDIT: It works, thx alot to the reply ;)
I am going through the same thing right now. I just copied your little script into the headerNav div and I still can't click, as you originally couldn't. How did you reach the aha! moment?
Thanks.
Thanks.
Hi,
As far I can remember:
I checked z-index of the default css-property. I had the problem that the z-index was more than 100 in default, so it couldn`t work. (if i remember right)
And then... I cleared cache! Thats was important to see a result.
You cant click the header-area?
Where do you put the z-index-fix-script?
I put it after creating the header instance:
and then added the script from above. I hope this helps?!
As far I can remember:
I checked z-index of the default css-property. I had the problem that the z-index was more than 100 in default, so it couldn`t work. (if i remember right)
And then... I cleared cache! Thats was important to see a result.
You cant click the header-area?
Where do you put the z-index-fix-script?
I put it after creating the header instance:
$a = new Area('Header Nav'); $a->display($c); // now the fixer
and then added the script from above. I hope this helps?!
yeah what's the deal with the cache!? i have to clear it constantly. I am working in chrome. I always get the "Access denied" message. Ugh!
I can edit the header fine. it is the headerNav I have troubles editing.
what I do now is move whichever headerNav widget out of the headerNav and then edit it and then put it back into the headerNav.. after clearing cach a couple dozen times.
I can edit the header fine. it is the headerNav I have troubles editing.
what I do now is move whichever headerNav widget out of the headerNav and then edit it and then put it back into the headerNav.. after clearing cach a couple dozen times.
if you want, open up header.php or however you have set your theme, then add: