Okay
  Public Ticket #3522736
Banner image
Closed

Comments

  • Guy Luxxxe started the conversation

    Hi,

    How can I adjust my banner photos for the mobile version?

    For example, I would like to be able to shift the photo to the left or right.

    Thanks.

    Attached files:  IMG_4507.PNG
      Capture d’écran 2023-11-15 à 19.15.12.png

  •  646
    Alexandre replied

    Bonjour, 

    Je me permets de vous répondre en français. 
    Il n'y a pas d'option pour positionner l'image background. 
    Il va falloir utiliser un code custom css. 
    Aller au wp-admin>theme options>custom css/js
    Et ajouter ce code:


    @media screen and (max-width: 767px) {
    .page-id-7116 #page-banner .page-banner-bg {
    background-position-x: 22%;
    }
    }

    Ce code sera appliqué seulement sur la page régérence. 
    Si vous voulez l'appliquer à une autre page il va falloir changer la classe "page-id-7116" dans le code.

    Thanks,


    Alexandre from the Sonaar.io Crew

  • Guy Luxxxe replied

    Bonjour,

    Parfait. Merci pour le code !