Content Items Alignment in Main Menu - pls help !!!

starlight32
Joomla! Intern
Joomla! Intern
Posts: 62
Joined: Mon Aug 07, 2006 2:00 pm

Content Items Alignment in Main Menu - pls help !!!

Postby starlight32 » Tue Sep 12, 2006 4:23 pm

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

User avatar
mtk
Joomla! Guru
Joomla! Guru
Posts: 856
Joined: Sat Nov 12, 2005 10:55 pm
Location: Israel
Contact:

Re: Content Items Alignment in Main Menu - pls help !!!

Postby mtk » Wed Sep 13, 2006 8:44 am

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:

Code: Select all

align="left"


into:

Code: Select all

align="right"


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...
"In a world without walls and fences,
who needs Windows & Gates?"

http://www.smartmtk.com | http://www.lighthost.co.il/webhosting-for-joomla

starlight32
Joomla! Intern
Joomla! Intern
Posts: 62
Joined: Mon Aug 07, 2006 2:00 pm

Re: Content Items Alignment in Main Menu - pls help !!!

Postby starlight32 » Wed Sep 13, 2006 9:23 am

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

User avatar
mtk
Joomla! Guru
Joomla! Guru
Posts: 856
Joined: Sat Nov 12, 2005 10:55 pm
Location: Israel
Contact:

Re: Content Items Alignment in Main Menu - pls help !!!

Postby mtk » Wed Sep 13, 2006 9:29 am

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

starlight32
Joomla! Intern
Joomla! Intern
Posts: 62
Joined: Mon Aug 07, 2006 2:00 pm

Re: Content Items Alignment in Main Menu - pls help !!!

Postby starlight32 » Wed Sep 13, 2006 11:54 am

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!!!

User avatar
mtk
Joomla! Guru
Joomla! Guru
Posts: 856
Joined: Sat Nov 12, 2005 10:55 pm
Location: Israel
Contact:

Re: Content Items Alignment in Main Menu - pls help !!!

Postby mtk » Wed Sep 13, 2006 12:18 pm

the place to look 4 it, is not in the code itself...
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

User avatar
demiurg
Joomla! Apprentice
Joomla! Apprentice
Posts: 44
Joined: Tue Jun 26, 2007 11:03 pm

Re: Content Items Alignment in Main Menu - pls help !!!

Postby demiurg » Sun Jul 01, 2007 9:06 pm

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...
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.

arender
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Fri Jul 20, 2007 3:07 am

Re: Content Items Alignment in Main Menu - pls help !!!

Postby arender » Tue Jul 24, 2007 1:24 am

maybe your images is not uploaded check in your images folder in your tamplete folder.

User avatar
mtk
Joomla! Guru
Joomla! Guru
Posts: 856
Joined: Sat Nov 12, 2005 10:55 pm
Location: Israel
Contact:

Re: Content Items Alignment in Main Menu - pls help !!!

Postby mtk » Sat Jul 28, 2007 9:00 am

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 this case it is a CSS issue.
"In a world without walls and fences,
who needs Windows & Gates?"

http://www.smartmtk.com | http://www.lighthost.co.il/webhosting-for-joomla

WebbyWendy
Joomla! Apprentice
Joomla! Apprentice
Posts: 28
Joined: Sat Aug 06, 2011 3:54 pm

Re: Content Items Alignment in Main Menu - pls help !!!

Postby WebbyWendy » Sat Aug 06, 2011 4:21 pm

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.

User avatar
ISScyborg
Joomla! Intern
Joomla! Intern
Posts: 75
Joined: Mon Jun 04, 2012 1:40 pm
Location: Slovenia
Contact:

Re: Content Items Alignment in Main Menu - pls help !!!

Postby ISScyborg » Thu Jun 14, 2012 5:47 am

I want to know how to move single menu item to the right and others stay on left?

kazmilahore
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Sat Mar 10, 2012 4:39 pm

Re: Content Items Alignment in Main Menu - pls help !!!

Postby kazmilahore » Sat Oct 13, 2012 8:36 am

Can you please tell me, where is this file mod_mainmenu.php is located?
I am using Joomla 2.5.7.

Thanks a lot


Return to “Hebrew Forum”

Who is online

Users browsing this forum: No registered users and 2 guests