Hi,
On my landing page I have a logo that I had to move using CSS, here is the code I put in: .page-id-5596 .avia-image-container {margin-left: -90px; margin-top: -105px !important;}.
However I have another image on this page which has also moved position, I don’t want this. Can you tell me how to differentiate the two images in CSS please?
Thanks
Matt
Hi ml8155!
Please turn on custom CSS field for ALB elements – http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ and give your element a custom class then change your code to following one
.your-custom-class {margin-left: -90px; margin-top: -105px !important;}
Regards,
Yigit
Hi Yigit,
Thanks for that. I have done this and it worked perfectly in full screen but when I minimise the screen the logo gets cut off.
Thanks
Matt
Hey!
You can change your code to following one to apply it only on desktops
@media only screen and (min-width: 768px) {
.your-custom-class {margin-left: -90px; margin-top: -105px !important;} }
Regards,
Yigit
Thanks!