Welcome to TalkGraphics.com
Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Oct 2010
    Location
    South Africa
    Posts
    877

    Default Adding drop shadow to heading text

    If I do the above, I assume the text get converted to a bitmap?
    If I copy the word, put it back 1 and give it a 1pt outline and then soft group it, it also gets exported as a bitmap...
    I've got some white headings on top of a photo and I need to do something make the text stand out better on the light areas....
    Many thanks - LGF

  2. #2
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,910

    Default Re: Adding drop shadow to heading text

    Hi LGF, Select your text and apply a shadow, glow shadow is best for the purposes you require. Copy this shadowed text to the clipboard. Now with the original text selected, Arrange / Convert to Editable Shape, then Ungroup. Select only the text shape and delete. Ctrl+Shift+V to place the bitmap copy in the same position then remove the drop shadow from text.

    Your left with text as text and a bitmap shadow.
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  3. #3
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,501

    Default Re: Adding drop shadow to heading text

    Except Egg - The text is now a shape and not findable by search engines. So modify your steps:


    1. Create your headline and Copy it to the clipboard.
    2. Add your shadow to the text on the screen.
    3. Select the text with shadow and Convert to Editable Shapes
    4. Select the text and Ungroup. Delete the text part. Leave the shadow.
    5. Edit > Paste > Paste in Place the Headline Text you copies to the clipboard.


    Export your website and see if the text in your browser is selectable with the Text Tool (it is)

  4. #4
    Join Date
    Oct 2010
    Location
    South Africa
    Posts
    877

    Default Re: Adding drop shadow to heading text

    Awesome - thank you Sir!

  5. #5
    Join Date
    Oct 2010
    Location
    South Africa
    Posts
    877

    Default Re: Adding drop shadow to heading text

    Many thanks too Priester

  6. #6
    Join Date
    Apr 2018
    Location
    Barnes, London
    Posts
    952

    Default Re: Adding drop shadow to heading text

    You could add a few lines of CSS - the shadow can then be consistently applied to any headings - no images anywhere.

    Click image for larger version. 

Name:	Text-Shadow.jpg 
Views:	56 
Size:	34.3 KB 
ID:	130765

    More: https://developer.mozilla.org/en-US/...SS/text-shadow

    Gary

  7. #7
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,910

    Default Re: Adding drop shadow to heading text

    Except Egg - The text is now a shape and not findable by search engines.
    Sorry Gary that's not true. In my explanation the shadow is a bitmap and the text remains text

    I stated Select only the text shape and delete, so that removes the text as a shape.

    I attach my example.

    Gary's (Initiostar) is the best method but for those not wanting to dabble in CSS mine works well.
    Attached Files Attached Files
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  8. #8
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,813

    Info Re: Adding drop shadow to heading text

    Quote Originally Posted by Initiostar View Post
    You could add a few lines of CSS - the shadow can then be consistently applied to any headings - no images anywhere.

    Click image for larger version. 

Name:	Text-Shadow.jpg 
Views:	56 
Size:	34.3 KB 
ID:	130765

    More: https://developer.mozilla.org/en-US/...SS/text-shadow

    Gary
    All (& thanks Gary), here is a working example: CSS - Poster Child.xar

    Any Text column (or Area) has a Name, htmlclass='text-outline' applied.

    The Website Head (code) is CSS that adds a shadow NSEW.

    <style>
    :root {
    --hdist: 1;
    --vdist: 1;
    --spread: 0.25;
    --shadow: #121221aa;
    }

    .text-outlined {
    text-shadow:
    calc(var(--hdist) * -1px) 0 calc(var(--spread) * 1px) var(--shadow),
    0 calc(var(--vdist) * 1px) calc(var(--spread) * 1px) var(--shadow),
    calc(var(--hdist) * 1px) 0 calc(var(--spread) * 1px) var(--shadow),
    0 calc(var(--vdist) * -1px) calc(var(--spread) * 1px) var(--shadow);
    }
    </style>

    You can change the extent, colour, blur and opacity of the outline in the root part:
    • --hdist - replace with any decimal, including negatives and this becomes the horizontal distance of the shadow.
    • --vdist - replace with any decimal, including negatives and this becomes the vertical distance of the shadow.
    • --spread: this is the amount of blur, again a decimal but only positive values.
    • --shadow: this is the hex rgba colour values; the first three hexadecimal pair change the mix of red, Greed & Blue, the last pair is the opacity from 0 (invisible) to ff (full on).

    You need not touch the ClassName text-outlined.

    Webbie & Xara things of note:
    • There is no current CSS text-stroke available over major browsers. This would be the way to go.
    • Using a Line Width of 0px (not None) adds the smallest visible line thickness to a shape but only in the design but not when rendered.
    • Xara fails to treat rotated Text as a Font so you are stuck with an image. It is very simple to achieve this in CSS.
    • All CSS effect are lost in Exporting as PDF. A Screenshot may be your only out.


    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  9. #9
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,501

    Default Re: Adding drop shadow to heading text

    Fair enough Egg.

  10. #10
    Join Date
    Dec 2018
    Location
    Australia
    Posts
    1,775

    Default Re: Adding drop shadow to heading text

    Why not clone the text in place and add the shadow to the one at the rear?
    Or, clone, add an outline and feather the rear one.

 

 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •