Site logo

[Resolved] simple text effect to site title

Home Forums Support [Resolved] simple text effect to site title

Home Forums Support simple text effect to site title

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #206714
    Mark

    Hi Tom,

    is there a simple way to add a text effect (a white outline) to a site title?

    #206727
    Bishop

    Hi Mark,

    Adding this CSS should work

    p.main-title {
        text-decoration: underline;
    }
    #206731
    Mark

    Hi Tom,

    I appreciate the quick reply, however, I was after an outline of the words. The link below is my website which the heading is in blue. I am wanting a white outline of the title. So it needs to be a different colour too.

    https://www.momentumplusbodycorp.com.au

    #206743
    Bishop

    Hi Mark,

    That wasn’t Tom. Tom would’ve got it right the first try 😛
    Try

    p.main-title {
        border: 3px solid #fff;
        padding: 5px;
    }

    I don’t actually know how to exclude the border on the social icons though…

    #206746
    Mark

    hahahah thanks for that Bishop. I did do this but it seemed to have but a square box around the actual section. I want an effect of a white outline around each of the separate letters.

    #206814
    Tom
    Lead Developer
    Lead Developer

    Bishop almost got it, try this:

    .main-title a {
        border: 3px solid #fff;
        padding: 5px;
    }
    #206824
    Mark

    Hi Tom,

    Not quite what I was chasing. This is what I am chasing (image found on google)

    http://www.gimpology.com/uploads/3_8_8.png

    #206855
    Tom
    Lead Developer
    Lead Developer

    Ah, this article might be helpful: https://css-tricks.com/adding-stroke-to-web-text/

    The selector you’re working with is: .main-title

    #206860
    Mark

    Thanks Tom,

    I had a look on that site and seemed to have found a solution that does work for the moment.

    Much appreciated.

    #206879
    Tom
    Lead Developer
    Lead Developer

    Great news, glad I could help 🙂

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.