Welcome to TalkGraphics.com
Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,541

    Default Re: Directly viewing/editing html (and css)

    Welcome to TalkGraphics David

    As Boy points out, Web Designer generates the HTML code and associated files when you publish. So even if you edit the HTML document in a text editor, Web Designer will overwrite your changes the next time you make a change and publish your site.

    If you need to add a script or line of code to your page can do so using a Placeholder object, which can be anything, usually a simple rectangle.

    Select the placeholder object, go to Website Properties > Placeholder and then click the Insert HTML Body or Head button and paste your text or script. Placeholders are invisible when you publish but insert your code or script into the page or site every time you publish.

    For more information see Help > Index > Placeholder Objects

  2. #2
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,956

    Default Re: Directly viewing/editing html (and css)

    Never try to change published HTML manually, it will all get overwritten.

    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

  3. #3
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,956

    Default Re: Directly viewing/editing html (and css)

    You can import a CSS file and if is have !Important, it can be used over Xara's published one.
    You select an Object and use Ctrl+Alt+Shift+A and attach you file that way.

    The cheap and cheerful way is to add <style> blocks in Placeholders, Page or Website code areas.

    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

  4. #4
    Join Date
    Jul 2017
    Posts
    2

    Default Re: Directly viewing/editing html (and css)

    Many thanks for all the fast and helpful replies.

    -- David.

  5. #5
    Join Date
    Apr 2017
    Location
    NJ, near Princeton Univ (USA), midway between NYC and Philly
    Posts
    49

    Default Re: Directly viewing/editing html (and css)

    Learning to mix Xara's own generated code with whatever you put in placeholders is really quite powerful and convenient. Xara's own tools make it feasible to design and build quickly -- and with placeholders, you can drop in custom HTML, CSS, PHP, jQuery, etc. to add all sorts of additional functionality. Very nice once you get the workflow down.

 

 

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
  •