Instead of displaying my title in text, I used inline HTML and SVG code to display a logo I made in Inkscape. It worked, but now the tab's title is "image/svg+xml". This is part of the title even when I set the title using HTML. How can I fix this? If it's of any relevance, I'm working in Sugarcube.
Comments
Note the effect the selected HTML has on the tab title. And I'm working in the latest Sugarcube.
The StoryTitle special passage should:
While I'm here, I have a question about responsive design:
I'm using this bit of CSS to ensure compatibility on mobile devices. I made a horizontal version of the logo to work with the UI bar being at the top of the screen rather than the left side. How do I get the Story Banner to change when it switches to "narrow viewport mode?"
Regardless. The SugarCube 1.x UI bar switch happens via CSS, so it would be best to use CSS for everything. Meaning you'll probably need to display your SVG as a CSS background. For example: If you don't already know how, you can follow these step to optimize your SVGs and turn them into Base64-encoded data URIs: