Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #21241

    Hello I just inserted a top level image using mega menu.

    I just referenced the img in the Navigation label as shown here

    This is the code used: < img src=”” alt=” Some Text” /><span >Some Text</span>

    As you can see I kept the text label.

    Now I need to know how to center the image on top of the text

    Both are currently aligned right.

    I tried adding a custom class to the image, didn’t work:


    text-align: center;




    Please help


    Hi jacobom,

    Without seeing the actual implementation live I can’t really say what would center it. If you are trying to do the margin left/right auto trick the width of the item must be defined.



Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘How to center image in mega menu’ is closed to new replies.