Search code examples
javascriptcsswordpressfrontendstylesheet

how to increase width of right column of header


I am trying to increase the size of the right side of the header because when I write telephone number then it relocate and come to more than one line.

Can you please check it here


Solution

  • To avoid wrapping, you could use white-space:nowrap;. In your case, the phone number is placed in a span that has the call style. So in your style.css file find the call class definition add this style to it:

    .topbar span.call {
        color: #fff;
        font-size: 15px;
        font-weight: 600;
        letter-spacing: 1px;
        white-space:nowrap;
    }