Help with headers to paragraphs and changing fonts size mid paragraph basically I'm using a main menu code and its not yet ascetically pleasing in my java script bin i have
$(document).on("click", "a#trigger", function(){
$("#menu-saves a").trigger("click");
});
and in the first passage i have
Path
created by rufusphipps-kaye
<a id="trigger"><<button "Load Game">>Load Game<</button>></a>
or [[start new]]
this is my main menu but i want PATH to be bigger then created by so and so! can someone help me?
Comments
The way you are trying to create your own Load Game link is incorrect for a number of reasons as explained by TheMadExile in this thread.
There are many ways to make text appear as a header, the simplest way is to use a HTML header (h1 to h6) tag. Another simple way is to wrap your text in either a <div> or <span> with a class and then use CSS to set the font size.
note: the first line in the following example goes in your passage, the rest goes in your Story Stylesheet
You can use a @font-face CSS rule at the start of your Story Stylesheet area to load a font. This article talks about the different ways to use @font-face.
The following example uses a TTF font from the Open Font Library website, though for better compatibility it is generally better to use a WOFF (or WOFF2) font. Add the example to the start of your Story Stylesheet and i should change your story's passage text.
You'd then need to host the WOFF somewhere so you can reference it in your CSS.