Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

[SOLVED] icons after .menu li


  #1  
Old Mar 29, 2013, 04: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, 05:31 AM
juggledad's Avatar
juggledad
 
23,765 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, 06: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, 06: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, 06:17 AM
juggledad's Avatar
juggledad
 
23,765 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, 06: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, 07:54 AM
juggledad's Avatar
juggledad
 
23,765 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, 04: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



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 03:20 PM
[SOLVED] Menu Icons ryoung Montezuma Theme 6 Feb 1, 2013 10:10 AM
Icons in top menu danieln Montezuma Theme 2 Dec 6, 2012 07:29 AM
Change Icons in Menu matejp Montezuma Theme 5 Oct 24, 2012 07:01 PM
[SOLVED] Menu Icons krystalls Montezuma Theme 7 Sep 22, 2012 11:46 AM


All times are GMT -6. The time now is 12:15 AM.


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