x

Need a little HTML help

Hi Weebly-Community,

I'd love to add a phone number into the header section of my new website. There's an "invisible" shopping cart button at that place and the weebly support staff said that with a little HTML we could change that shopping cart button into a text/phone number.

So can somebody help me to do this? Looking forward to hear from you!

Regards,

Jonathan

388 Views
Message 1 of 4
Report
3 REPLIES 3

Hi, @Jonathan1!

While I don't know the CSS myself, I have found where other community members have done this. These are the steps they took:

The code was added into the header.html section of the coding. 

  • <div class="contact_number">Call Us : ENTER YOUR NUMBER HERE</div>

and then this was also added in the main.less section of the coding:

  • .contact_number {
    display: table-cell;
    padding: 0 20px;
    vertical-align: middle;
    color: ivory;
    text-align : right;
    font-size : 100%;
    }

You can find the sections to add this by going to your theme tab and then clicking the button at the bottom left of your page.

Let us know if you run into trouble.

Thanks,

Erin

381 Views
Message 5 of 4
Report

Hi Erin,

your're awesome! Thank you very much for your help. Looking forward to try this.

All the best,

Jonathan

375 Views
Message 5 of 4
Report

You're most welcome!

361 Views
Message 5 of 4
Report