Artisteer tems, some element has inline style

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
11/5/2010 2:08:29 AM
Gravatar
Total Posts 104

Artisteer tems, some element has inline style

Hi

I make a custom skin using artistear, I try to change simething and make it RTL, but some Items have inline style and I can't change them.

http://niroughateh.ir/ pleas look at menu Item for sample.

how can I manage this inline styles?

 

Thanks

11/5/2010 10:11:24 AM
Gravatar
Total Posts 37

Re: Artisteer tems, some element has inline style

Ashian,

In Artisteer click on MENU tab, then click on STYLES then go down to ALIGN and click on the RTL icon. This will fix your MENU problems. More then likely you can fix all your RTL issues in Artisteer  some setting are hard to find but they are there. :)

11/6/2010 6:17:27 AM
Gravatar
Total Posts 104

Re: Artisteer tems, some element has inline style

this is a problem by asp.net 4, I use .net 3.5 version of mojoportal and same skin work correctly.

but in asp.net all menu Item have inline style float : left and I can't edit them by changes on skin style files.

11/6/2010 7:22:22 AM
Gravatar
Total Posts 550

Re: Artisteer tems, some element has inline style

Hi ,

Do you set AspNet-Menu-Horizontal {float:right;} ?

11/6/2010 7:44:04 AM
Gravatar
Total Posts 104

Re: Artisteer tems, some element has inline style

Hi Asad,

I do that , but the problem is that when I check by firebug I notic that SiteMap control has a inline style attribute which set float:left

also every li item has a float:left style ( not in CSS )

same skine whithout any changes work correctly on .NET 3.5 and I have this problem just in asp.net 4 version of mojoportal

11/6/2010 3:23:15 PM
Gravatar
Total Posts 2253

Re: Artisteer tems, some element has inline style

Hi,

We have been seeing more of this lately. Usually the problem is related to running a .NET 3.5 mojoPortal release in a .NET 4 Application Pool or the other way around. So, make sure that your release files' .NET version matches the Application Pool .NET version.

HTH,
Joe D.
 

 

11/7/2010 5:00:38 AM
Gravatar
Total Posts 18439

Re: Artisteer tems, some element has inline style

Hi All,

This issue is caused because in .NET 4 they use some javascript with ASP.NET Menu control that adds this inline style. There is no way to eliminate the javascript but you can overcome this problem like this:

.AspNet-Menu-Horizontal {float:right !important;}

Hope it helps,

Joe

11/13/2010 2:59:08 PM
Gravatar
Total Posts 104

Re: Artisteer tems, some element has inline style

thanks for your reply.

I add these 2 lines and it works :

.AspNet-Menu-Horizontal {float:right !important;}
.AspNet-Menu-Horizontal ul li {float:right !important;}

 

 

regards

Mehdi

6/28/2011 4:56:57 AM
Gravatar
Total Posts 16

Re: Artisteer tems, some element has inline style

I am facing the same problem,

where i have to write these two lines?

.AspNet-Menu-Horizontal {float:right !important;}
.AspNet-Menu-Horizontal ul li {float:right !important;}

i am using artisteer-30verticalmenu2 skin.

waiting for your reply.

6/28/2011 6:05:17 AM
Gravatar
Total Posts 18439

Re: Artisteer tems, some element has inline style

See the article The Trouble With ASP.NET Menu

Hope it helps,

Joe

6/29/2011 12:41:38 AM
Gravatar
Total Posts 16

Re: Artisteer tems, some element has inline style

Thanks for your reply joe,

my problem is solved.

i used below line in style.css in artisteer-30verticalmenu2.

.art-hmenu{ float:right !important;  }

i have one more question.

i want all levels in horizontal menu as in artisteer-greenlagoon and also vertical menu from second level as in artisteer-30verticalmenu2.

Can I do it?

I know it is redundancy but it is requirement.

thanks,

Vipul Patel

6/29/2011 5:56:08 AM
Gravatar
Total Posts 18439

Re: Artisteer tems, some element has inline style

yes, look in your layout.master file on the SiteMenu control change DynamicDisplayLevels from 0 to 100.

Hope that helps,

Joe

6/30/2011 5:49:00 AM
Gravatar
Total Posts 16

Re: Artisteer tems, some element has inline style

once again thanks joe,

now i am able to get the horizontal and vertical menu both.

but i have new problem,

horizontal menu is left to right and i want it right to left.

i have changed some part of style.css in artisteer-30verticalmenu2 and i am able to get right upto second level but after it is overlapping.

.art-hmenu ul
{
  visibility: hidden;
  position: absolute;
  z-index: 10;
  right: 0;  /* i changed this */
  top: 0;
  background: none;
  min-height: 0;
  background-image: url('images/spacer.gif');
  padding: 10px 30px 30px 30px;
  margin: -10px -30px 0 0;  /* i changed this */
}

can i have any reference?

how can i solve it?

Thanks and Regards,

Vipul patel

6/30/2011 9:05:38 AM
Gravatar
Total Posts 18439

Re: Artisteer tems, some element has inline style

There may be a way to solve it from CSS but I don't know off the top of my head and don't have time to research it for you.

It might also require editing the script.js file (in the skin folder) produced by Artisteer as some of their menu stuff is done from javascript.

Hope that helps,

Joe

7/1/2011 12:40:48 AM
Gravatar
Total Posts 16

Re: Artisteer tems, some element has inline style

thanks for reply and sorry to bother you again and again.

i have solved it anyway.

i had used net35mode and had done just below changes in css.

.art-hmenu ul ul
{
  padding: 30px 0 30px 10px;
  margin: -30px 0 0 -10px;
  float:right !important;
  right:100%;
}

hope it can help someone else.

Thanks and Regards,

Vipul Patel

Mojoportal Rocks...

 

You must sign in to post in the forums. This thread is closed to new posts.