Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

[solve]Float problem on IE6/7 - RTL users

  • uzi buba
  • uzi buba's Avatar Topic Author
  • Offline
  • New Member
More
15 years 2 months ago - 15 years 2 months ago #28188 by uzi buba
Hi,
After install plugin i have a weird problem on IE7 And IE6
Some of the image after the firs row float to the left:

IE6:
ginat-hazahav.com/images/6.jpg

IE7
ginat-hazahav.com/images/7.jpg

BTW, i try to use Default template and still the same problem.

The site: בית אבות

Regards,
uzi

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
15 years 2 months ago #28189 by Yiota
Replied by Yiota on topic Re: Float problem on IE6/7
The problem seems to be the rtl (direction of the page) for the explorers (6 and 7 only). Could you find a way to disable it only for this page and only for the explorers?

Please Log in or Create an account to join the conversation.

  • uzi buba
  • uzi buba's Avatar Topic Author
  • Offline
  • New Member
More
15 years 2 months ago #28190 by uzi buba
Replied by uzi buba on topic Re: Float problem on IE6/7
Thanks for your help (finally good support for pay plugin)

I think about that after posting.
And you are right this is RTL problem. I can't disable RTL only for this page, The RTL is
In my main CSS style. I'm the only one that buy pro And using RTL?
It's a big problem to me to remove RTL and edit all CSS but if there no any other solution
I will do it.

Regards,
uzi

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
15 years 2 months ago #28191 by Yiota
Replied by Yiota on topic Re: Float problem on IE6/7
You can make a check to your body element and give a different class name according to what page you are in and put the direction to that class.

Go to the index.php of your template and do the following:
Declare to the <head> the following variable
<?php $gallery=JRequest::getCmd('Itemid'); ?>

then go to your <body> and add the following:
<body id="page_bg" class="f-default <?php if ($gallery==the pages itemid): echo 'gallery'; else echo 'allOtherPages' endif; ?>">

After this go to the CSS file of your tempalte and remove the direction:rtl; from the body. Then put it at body.allOtherPages {direction:rtl;} and put to body.gallery {direction:ltr;}.

Please Log in or Create an account to join the conversation.

  • uzi buba
  • uzi buba's Avatar Topic Author
  • Offline
  • New Member
More
15 years 2 months ago #28192 by uzi buba
Replied by uzi buba on topic Re: Float problem on IE6/7
First,  I get error "Parse error: parse error"
On line/code:
<body id="page_bg" class="f-default <?php if ($gallery==the pages itemid): echo 'gallery'; else echo 'allOtherPages' endif; ?>">

Secondly, I'm not understand where to add {direction:ltr;} on template i have only Index.php
And where the page that i need to add {direction:ltr;} (gallery page)

Thanks

Edit:
It's not possible to add in gallery css {direction:ltr;}?

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
15 years 2 months ago #28193 by Yiota
Replied by Yiota on topic Re: Float problem on IE6/7
An easier solution came to mind, so go with this instead unless it won't work so go with the above (and below explanatory). Find the plugin's CSS file (plugins/jw_sigpro/templates/Default/template.css) and find ul.sig-container. Add {direction:ltr !important;}

First of all you get an error because you didn't put the itemid of the page where the gallery is. When I say the pages itemid you have to put a number that corresponds to that page. You can see this number inside your menu on the right of the menu item that goes to the gallery page.

You will put inside you template.css file
body.allOtherPages {direction:rtl;} 
body.gallery {direction:ltr;}

and remove from the body the direction:rtl; completely.

Please Log in or Create an account to join the conversation.

  • uzi buba
  • uzi buba's Avatar Topic Author
  • Offline
  • New Member
More
15 years 2 months ago #28194 by uzi buba
Replied by uzi buba on topic Re: [solve]Float problem on IE6/7 - RTL users
OK, it's work.
Thank you for great support.

I edit the topic for better search.

Regards,
uzi

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum