WebSite X5Help Center

 
Graeme G.
Graeme G.
User

Css area that affects your overall website  en

Autor: Graeme G.
Visited 844, Followers 1, Udostępniony 0  

I have an issue with a website I've built: https://topcartrailerhire.co.uk

On an iPad, when you add one of the trailers to the shopping cart by clicking button "add to basket" > "Pick a date" we cannot get the arrows to make the months scroll (see attached cirlced in red)

I have been onto their customer support and recieved the below. How/where do I make these changes in CSS in Website X5? The other code they mention in the below statement is this: .Icvvb {

top: 2% !important;
}

----

Good Morning,

The only differences between the websites that I see are these CSS changes:

hMprZx * {
outline: none;
}
fa-fw {
width: 1.28571429em;
}

Can you ensure that you added the previous code to a place where CSS code is added and not Javascript nor HTML, just to be certain. We have had cases in the past where someone adds CSS to a Javascript or HTML area and then the code doesn't work (as it wouldn't).

Once you are sure you have found the CSS area that affects your overall website, you can try the above codes too if you would like. I am not certain that these will adjust your issue but it is a place you can definitely start.

You can even combine it with the code I sent earlier which moves the arrows up more so that they are easier to click on and are not possibly partially obscured by the days of the week names.

Posted on the
9 ODPOWIEDZI - 1 POMOCNY
Aleksej H.
Aleksej H.
Moderator

Hello.Add your code here:

<style>
hMprZx * {
outline: none;
}
fa-fw {
width: 1.28571429em;
}
</style>

This video has a little more information on this question.

Czytaj więcej
Posted on the from Aleksej H.
Graeme G.
Graeme G.
User
Autor

Please see attached, I have added the codes to this area and uploaded. It's changed nothing other than the code is now visible. Have I added the code correctly? See attached.

Please advise. Thank you.

Czytaj więcej
Posted on the from Graeme G.
Andreas S.
Andreas S.
Moderator

You have to put that between the <style> elements....

<style>
hMprZx * {
outline: none;
}
fa-fw {
width: 1.28571429em;
}

</style>

Czytaj więcej
Posted on the from Andreas S.
Graeme G.
Graeme G.
User
Autor

Hi - when I input the code like the attached the site goes blank. Have I entered it correctly? Thanks

Czytaj więcej
Posted on the from Graeme G.
Andreas S.
Andreas S.
Moderator

there is once too much <style> inside. You have to delete that...

Czytaj więcej
Posted on the from Andreas S.
Graeme G.
Graeme G.
User
Autor

Attached is what I now have - is that correct?

I still can see the code top left on homescreen and it's not fixed the issue.

Thanks.

Czytaj więcej
Posted on the from Graeme G.
Franz-Josef H.
Franz-Josef H.
Moderator

No, the opening tag is  <style> and not </style>.

Czytaj więcej
Posted on the from Franz-Josef H.
Franz-Josef H.
Franz-Josef H.
Moderator

The tag in row 1 is the opening <style> tag and has to be written like <style>.  The closing tag for the style directives is </style>, like it is in row 12.

Czytaj więcej
Posted on the from Franz-Josef H.
Graeme G.
Graeme G.
User
Autor

Sorted thank you very much! cool

Czytaj więcej
Posted on the from Graeme G.