Content Items Alignment in Main Menu - pls help !!!
-
- Joomla! Intern
- Posts: 62
- Joined: Mon Aug 07, 2006 2:00 pm
Content Items Alignment in Main Menu - pls help !!!
Hi there,
I wonder if you can help me with this:
I created a Section and linked it to the main Menu.
Then, created a few Link – Content Items- to this Menu entry.
The problem is that I view the Menu parent Menu items aligned to the left instead of to the right…(on the menu)
And also, I see an icon (rectangle with red X on it) instead of a normal icon...
Can you guide me through, how to align the menu Items to the right on the Main menu, and add a normal icon (or get rid of the existing one?)
Thank you very much.
Starlight
I wonder if you can help me with this:
I created a Section and linked it to the main Menu.
Then, created a few Link – Content Items- to this Menu entry.
The problem is that I view the Menu parent Menu items aligned to the left instead of to the right…(on the menu)
And also, I see an icon (rectangle with red X on it) instead of a normal icon...
Can you guide me through, how to align the menu Items to the right on the Main menu, and add a normal icon (or get rid of the existing one?)
Thank you very much.
Starlight
-
- Joomla! Guru
- Posts: 856
- Joined: Sat Nov 12, 2005 10:55 pm
- Location: Israel
- Contact:
Re: Content Items Alignment in Main Menu - pls help !!!
Hello Starlight,
if you are a hebrew speaker I would recommend asking your questions in the Joomla Hebrew Site.
regarding the alignment to the right, you'll need to hack the mod_mainmenu.php file & change it's code.
Line 251:
into:
I suggest not doing this if you're not 100% sure, what's you're doing...
regarding your icon question, check that the link to the image is currectly pointing at the image..
good luck...
if you are a hebrew speaker I would recommend asking your questions in the Joomla Hebrew Site.
regarding the alignment to the right, you'll need to hack the mod_mainmenu.php file & change it's code.
Line 251:
Code: Select all
align="left"
Code: Select all
align="right"
regarding your icon question, check that the link to the image is currectly pointing at the image..
good luck...
"In a world without walls and fences,
who needs Windows & Gates?"
http://www.smartmtk.com | http://www.lighthost.co.il/webhosting-for-joomla
who needs Windows & Gates?"
http://www.smartmtk.com | http://www.lighthost.co.il/webhosting-for-joomla
-
- Joomla! Intern
- Posts: 62
- Joined: Mon Aug 07, 2006 2:00 pm
Re: Content Items Alignment in Main Menu - pls help !!!
Thanks so much!
I aligned the menu items to the right!!!
Now, the problem with the icon remains:
I guess, the code doesn’t point at the image of the icon (bullet)
Can you pls guide me : how to point at the right icon from the code.
Again, many thanks
Starlight
I aligned the menu items to the right!!!
Now, the problem with the icon remains:
I guess, the code doesn’t point at the image of the icon (bullet)
Can you pls guide me : how to point at the right icon from the code.
Again, many thanks
Starlight
-
- Joomla! Guru
- Posts: 856
- Joined: Sat Nov 12, 2005 10:55 pm
- Location: Israel
- Contact:
Re: Content Items Alignment in Main Menu - pls help !!!
that's ready depend on where the image is, & how you are pointing to it...
"In a world without walls and fences,
who needs Windows & Gates?"
http://www.smartmtk.com | http://www.lighthost.co.il/webhosting-for-joomla
who needs Windows & Gates?"
http://www.smartmtk.com | http://www.lighthost.co.il/webhosting-for-joomla
-
- Joomla! Intern
- Posts: 62
- Joined: Mon Aug 07, 2006 2:00 pm
Re: Content Items Alignment in Main Menu - pls help !!!
Thanks MTK,
:'(I don't know - is it the $img[1] that appears on the File: mod_mainmenu.php???
what image do you recommend, and where can I place it - in order that it will be used by the template (javabean_rtl)
It looks like the file mod_mainmenu.php - goes to :
$imgpath = $mosConfig_live_site .'/images/M_images';
to look for it...
But the result is the defult tiny icon with a red X on it (a placeholder for a good icon that I need...)
Can you advise?
Thanks!!!
:'(I don't know - is it the $img[1] that appears on the File: mod_mainmenu.php???
what image do you recommend, and where can I place it - in order that it will be used by the template (javabean_rtl)
It looks like the file mod_mainmenu.php - goes to :
$imgpath = $mosConfig_live_site .'/images/M_images';
to look for it...
But the result is the defult tiny icon with a red X on it (a placeholder for a good icon that I need...)
Can you advise?
Thanks!!!
-
- Joomla! Guru
- Posts: 856
- Joined: Sat Nov 12, 2005 10:55 pm
- Location: Israel
- Contact:
Re: Content Items Alignment in Main Menu - pls help !!!
the place to look 4 it, is not in the code itself...
you should learn more about templates & CSS - your solution is there...
you should learn more about templates & CSS - your solution is there...
"In a world without walls and fences,
who needs Windows & Gates?"
http://www.smartmtk.com | http://www.lighthost.co.il/webhosting-for-joomla
who needs Windows & Gates?"
http://www.smartmtk.com | http://www.lighthost.co.il/webhosting-for-joomla
- demiurg
- Joomla! Apprentice
- Posts: 44
- Joined: Tue Jun 26, 2007 11:03 pm
Re: Content Items Alignment in Main Menu - pls help !!!
I tried this hack too and it worked... sort of. Now the menu items are aligned to the right, but placed slightly out of the menu item box.
And it only happens in Firefox. IE displays it right.
Any ideas ? Thanks...
And it only happens in Firefox. IE displays it right.
Any ideas ? Thanks...
Last edited by demiurg on Sun Jul 01, 2007 9:14 pm, edited 1 time in total.
BrowserSeal - fast multi browser screenshots
Currently supports Firefox, Internet Explorer (IE6, IE7, IE8), Chrome, Opera and Safari.
Free trial download available.
Currently supports Firefox, Internet Explorer (IE6, IE7, IE8), Chrome, Opera and Safari.
Free trial download available.
-
- Joomla! Fledgling
- Posts: 4
- Joined: Fri Jul 20, 2007 3:07 am
Re: Content Items Alignment in Main Menu - pls help !!!
maybe your images is not uploaded check in your images folder in your tamplete folder.
-
- Joomla! Guru
- Posts: 856
- Joined: Sat Nov 12, 2005 10:55 pm
- Location: Israel
- Contact:
Re: Content Items Alignment in Main Menu - pls help !!!
In this case it is a CSS issue.demiurg wrote: I tried this hack too and it worked... sort of. Now the menu items are aligned to the right, but placed slightly out of the menu item box.
And it only happens in Firefox. IE displays it right.
Any ideas ? Thanks...
"In a world without walls and fences,
who needs Windows & Gates?"
http://www.smartmtk.com | http://www.lighthost.co.il/webhosting-for-joomla
who needs Windows & Gates?"
http://www.smartmtk.com | http://www.lighthost.co.il/webhosting-for-joomla
-
- Joomla! Apprentice
- Posts: 28
- Joined: Sat Aug 06, 2011 3:54 pm
Re: Content Items Alignment in Main Menu - pls help !!!
I've gone through the CSS and feel like I've changed EVERY "right" padding and margin attributes and nothing seems to effect the alignment of the content of the right modules. I've attached a snip of my challenge.
You do not have the required permissions to view the files attached to this post.
- ISScyborg
- Joomla! Intern
- Posts: 76
- Joined: Mon Jun 04, 2012 1:40 pm
- Location: Slovenia
- Contact:
Re: Content Items Alignment in Main Menu - pls help !!!
I want to know how to move single menu item to the right and others stay on left?
-
- Joomla! Apprentice
- Posts: 19
- Joined: Sat Mar 10, 2012 4:39 pm
Re: Content Items Alignment in Main Menu - pls help !!!
Can you please tell me, where is this file mod_mainmenu.php is located?
I am using Joomla 2.5.7.
Thanks a lot
I am using Joomla 2.5.7.
Thanks a lot