Back to top button – change the position

ThemeBurn SupportForumsOpenCart ThemesShoppica 2 OpenCart ThemeBack to top button – change the position

This topic has been marked as not a support question.

Hello,

I have used a modification for a scrollup button and it work great but the problem is on the position, I went to make it on right when the language is English (ltr) and on the left when the laguage is Arabic (rtl).

I have used this code on the CSS file of the extension
—————
#yukari {
display:none;
text-decoration:none;
position:fixed;
bottom:10px;

float:left;
left:22px;

float:right;
right:22px;

overflow:hidden;
width:55px;
height:55px;
border:none;
text-indent:-999px;
background:url(../yukari/yukari.png) no-repeat left top;
}

#yukariHover {
background:url(../yukari/yukari.png) no-repeat left -55px;
width:55px;
height:55px;
display:block;
overflow:hidden;
float:left;
opacity: 0;
-moz-opacity: 0;
filter:alpha(opacity=0);
}

#yukari:active, #yukari:focus {
outline:none;
}
———
I used : if ($language == ‘rtl’)

but I get the contrary, I get it on left when the language is English and on the right when the laguage is Arabic (seen the picture on attachement).

Best regards.

Sam

  • This reply was modified 4273 days ago by  samdz.
 samdz
August 18, 2012 at 1:30 am #12606
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
August 22, 2012 at 9:00 am #12811

Hi mate,

I want to add this go to top in my site, would you like to show me how to add this pls?

Regards,

January 6, 2013 at 1:28 pm #16776
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.