Viewing 1 replies (of 1 total)
  • Plugin Author Vigorous Hive

    (@vihv)

    I can add a field for custom css rules, if you want, but i do not think it is good idea.

    Image position is up to your theme. Vihv Menu is backend plugin. Ordinary menu item has html code like this:

    <a href="https://me/wpsandbox/?page_id=709">Services</a>

    and vihv menu replaces it with this

    <a href="https://me/wpsandbox/?page_id=709">
      <img alt="Home" src="https://www.vihv.org/images/shortcut.png">
      <span>Services</span>
    </a>

    As you can see, you have 2 separate html tags for icon and for menu item title. That’s enough to control everything. For example you can change default layout
    [icon] [title]
    to
    [title] [icon]
    with simple css rule like this

    .menu a img {
      float: right;
    
    }

    If images are far from menu on your theme it means that some of css rules in your theme apply to menu images. You can change active theme for a second and see the difference. And you can use rightclick->inspect element (in chrome and opera) to find that naughty rule.

Viewing 1 replies (of 1 total)
  • The topic ‘Bad position’ is closed to new replies.