Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

[SOLVED] icons after .menu li


  #1  
Old Mar 29, 2013, 03:53 AM
papalagi
 
41 posts · Nov 2009
hi everybody,

can't find it in the docs nor in the forum:

how can i have menu icon after the menu text, now i have:

Code:
<li class="page-about-us">
<i></i>
<a href="http://www.mydigitaltribe.com/about-us/">
</li>
i'd like to have:

Code:
<li class="page-about-us">
<a href="http://www.mydigitaltribe.com/about-us/">
<i></i>
</li>
thank you everybody, cheers
  #2  
Old Mar 29, 2013, 04:31 AM
juggledad's Avatar
juggledad
 
23,626 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Quote:
<li class="page-about-us">
<a href="http://www.mydigitaltribe.com/about-us/">
<i></i>
</li>
that is the way the theme generates the code, how did you get it in the first example?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Mar 29, 2013, 05:03 AM
papalagi
 
41 posts · Nov 2009
Quote:
Originally Posted by juggledad
that is the way the theme generates the code, how did you get it in the first example?
it's a simple cut&paste from the source of the page generated by wp+montezuma
  #4  
Old Mar 29, 2013, 05:14 AM
papalagi
 
41 posts · Nov 2009
sorry Juggledad, now i see what you mean, the first chunk of code was generated by a Custom Menu widget, now i include the menu the way it's intended in Montezuma and my code looks like this:

Code:
<li class="page-about-us">
<a href="http://www.mydigitaltribe.com/about-us/">
<i></i>
About Us
</a>
</li>
anyway what i'd need is something like this:

Code:
<li class="page-about-us">
<a href="http://www.mydigitaltribe.com/about-us/">
About Us
</a>
<i></i>
</li>
'cause i want to have two separate boxes for the menu link and the relative icon, doesn't matter if the icon is not a link

is this possible?
  #5  
Old Mar 29, 2013, 05:17 AM
juggledad's Avatar
juggledad
 
23,626 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
anything is possible, but you will have to dig in and alter the actual theme code to do.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #6  
Old Mar 29, 2013, 05:32 AM
papalagi
 
41 posts · Nov 2009
Quote:
Originally Posted by juggledad
anything is possible, but you will have to dig in and alter the actual theme code to do.
that's for sure, could you please give me an hint where to look for the code that adds <i> </i> to the lists? i think it's in the Javascript
  #7  
Old Mar 29, 2013, 06:54 AM
juggledad's Avatar
juggledad
 
23,626 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Actuallly I don't know where it comes from. I would have to dig into the code to find it. I'd be happy to do that, but I'd have to charge you for my time since I'm a volunteer here.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #8  
Old Apr 2, 2013, 03:10 AM
papalagi
 
41 posts · Nov 2009
foud a way:

in Montezuma Options / CSS Settings / insert <i></i> for Icons changed
Code:
.menu > li > a
in
Code:
.menu > li
then modify the icon CSS to target
Code:
.menu > li > i

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Menu icons disappear as soon as I click on any css file franzos79 Montezuma Theme 4 Mar 29, 2013 02:20 PM
[SOLVED] Menu Icons ryoung Montezuma Theme 6 Feb 1, 2013 09:10 AM
Icons in top menu danieln Montezuma Theme 2 Dec 6, 2012 06:29 AM
Change Icons in Menu matejp Montezuma Theme 5 Oct 24, 2012 06:01 PM
[SOLVED] Menu Icons krystalls Montezuma Theme 7 Sep 22, 2012 10:46 AM


All times are GMT -6. The time now is 02:03 AM.


Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.