WebSite X5Help Center

 
Graeme G.
Graeme G.
User

Css area that affects your overall website  en

Auteur : Graeme G.
Visité 853, Followers 1, Partagé 0  
Mots-clés :: css,website x5 pro 2021.4

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.

Posté le
9 RéPONSES - 1 UTILES
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.

Lire plus
Posté le de Aleksej H.
Graeme G.
Graeme G.
User
Auteur

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.

Lire plus
Posté le de 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>

Lire plus
Posté le de Andreas S.
Graeme G.
Graeme G.
User
Auteur

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

Lire plus
Posté le de Graeme G.
Andreas S.
Andreas S.
Moderator

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

Lire plus
Posté le de Andreas S.
Graeme G.
Graeme G.
User
Auteur

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.

Lire plus
Posté le de Graeme G.
Franz-Josef H.
Franz-Josef H.
Moderator

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

Lire plus
Posté le de 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.

Lire plus
Posté le de Franz-Josef H.
Graeme G.
Graeme G.
User
Auteur

Sorted thank you very much! cool

Lire plus
Posté le de Graeme G.