Before you ask please READ THIS

icon over the "Galleries" option in the main menu

edited May 2013 in Beach Please Posts: 1
how can i put an icon over the option "galleries" in the main menu?

i could not find where i can do it

Comments

  • AirAir
    Posts: 10,970
    If you have newest version of theme then you can do it in page you decided to use for galleries list.

    With regards.
  • STISTI
    Posts: 13
    Ok, how about this: how can i put an icon over the option "Offer" which links to the category?

    By the way: If there' s no predefined solution, I would do it by jQuery' s "appendTo()" method, but where I can paste the code?

    Kind regards,
  • AirAir
    Posts: 10,970
    STI said: Ok, how about this: how can i put an icon over the option "Offer" which links to the category?
    There is no way to do it. For sure I don't know any:-)

    For custom javascript you can use this http://wordpress.org/plugins/custom-javascript-editor/

    With regards.
  • STISTI
    Posts: 13
    Thank You for answer.

    Other words: how i can get same result as here:

    http://www.mirror-reality.com/post/category/blog/ ?

    Menu item "blog" links to category and has an icon. That' s what i need.
  • AirAir
    Posts: 10,970
    How did you achieve such result? I have no idea how you did it:-)
    Anyway use same analogy to do it with categories of works.

    I am waiting for your explanations:-)

    Wit regards.
  • STISTI
    Posts: 13
    The problem is it wasn' t me, i thought You tell me ;).
    I wrote to guy, who modificated the template, but he didn' t reply so far.

    Regards,
  • AirAir
    Posts: 10,970
    :-)
    Interesting. So I also wait for info how he did it:-)

    With regards.
  • STISTI
    Posts: 13
    Meanwhile, once again about custom use of jQuery:

    I' ve activated the plugin You' ve recommended me (custom-javascript-editor), but the code I' ve type in doesn' t work (js inspector says: "undefined variable $" - it looks like jquery.js file isn' t loaded but it is).

    Would You tell me, in which .js file i can (if i can) i can paste custom code?
  • AirAir
    edited August 2013 Posts: 10,970
    Of course $ is not defined cause in Wordpress jQuery is run in safe mode to not make any conflicts. You should either use jQuery instead of $, or run your code in such wrapper and then you can use $.
    (function($){
    //your code with $
    }(jQuery);
    With regards.
    Post edited by Air on
  • STISTI
    Posts: 13
    Thanks a lot, Master!

    Kind regards,
  • AirAir
    Posts: 10,970
    STI said: Master!
    Haha ;-)
    Good luck!
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion