• Resolved antoineO

    (@antoineo)


    Hello,

    I would like to put the same css style to my H1 title “Nos récompenses” (site : https://viticulteur-exemple.fr/nos-vins) than the page title.
    How can I do ?

    I try with the code below but it adds borders on the 2 titles :
    .nos-vins h1 {
    padding-bottom:15px;
    padding-top:15px;
    border-top:1px solid;
    border-bottom:1px solid;
    }

    Thanks for your help

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter antoineO

    (@antoineo)

    So with the code, my page title has 4 borders :/

    hannah

    (@hannahritner)

    The code you added only adds 1 top and 1 bottom line, but the theme has already added a top and bottom line. So just remove the code.

    Hannah

    Thread Starter antoineO

    (@antoineo)

    If I remove the code, I do not lose the css style on my second title H1 “Nos récompenses” :/

    hannah

    (@hannahritner)

    Oh I see what you’re saying. Try using this:

    #pl-16 .panel-grid-cell .so-panel:last-child h1 {
      padding-top: 15px;
      padding-bottom: 15px;
      border-top: 1px solid;
      border-bottom: 1px solid;
    }

    Thread Starter antoineO

    (@antoineo)

    Perfect ! Too strong.
    Thank you very much !

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘H1 title > Add border’ is closed to new replies.