HTML and CSS codes for your Blogger/site Part Two
Last updated Blog:
I created this part two because part one was too long. Click the dropdown menu to go to the part of the page you need. Can't find what you're looking for? Click here to see all of the coding you can try.
Skip to the part you need:
I found this information at Xomisse.
First head to your Blogger's main HTML. Next, above the </head> tag, paste the following:
At the start of this page I added jump links to make this page easier to navigate. A jump link means, a link in which when a user presses it, it jumps them to a specific part of the page. I found this information out at Hubspot.
To start, click on the HTML of the post/page you want to jump link. Scroll to the part of the page that you want your jump link to link to.
Simply add the following code <a> <a id="">
In between "" put a name relating to what your jump link is, like blog-beginning. Your code should be something like this
<a> <a id="your-text">
And where you want your jump link to end, simply add the following code
</a>
If there are any </a> before the one you add, you may have to delete these. When you're finished it should look something like the highlighted part on the image below:
Now on your blog/page, save and exit out of HTML mode. Now simply click the paperclip link symbol and write what you want your link to be called, and for the actual link, it is # and whatever you called it. Eg like #your-text in my example. View the post/page, click the link you just made and that is the full URL of your jump link. Now you can write something and say something like "Click here to learn how to do this".
Sometimes too much writing can be highlighted, however this only happened to me before I realized you need to put the close tag </a> where you want the highlighting to stop.
You could also see in your post/page's HTML section that your blog has made extra HTML codes that are unneeded, say if your code is <a id="blog-beginning">, your blog has most likely made too many of these, how I solved this was by deleting all the extras that your blog has made apart from the one you put in.
The easiest way on Blogger to put a box around your text is by using Blockquote for the text you want to have a box around:
Then making blockquotes on your blog have a border, then every time you Blockquote text, it will have a box around it.
Simply add the following to your CSS box, remember to change the CSS name to what your CSS Blockquote name is:
.post-body blockquote {border:1px solid black}
First, make a Blog post or page and upload the image that you want as the background. Publish the post, head to the post's URL and click on the image, you'll see your image URL. You'll need that. Head to the theme part of your Blog. Find the part that says
body { and directly after that line, place the following code:
background-image: url(URL address of your image);
Change the writing in bold to your image URL. Your code should look like this:
body {background-image: url(URL address of your image); (existing code)}
I found this information out at Stackoverflow.
Check this page out and the page it recommends until you know the basics of Blogger, so you can add the following code to where you want it:
<iframe src="The URL here" scrolling="no" style=" width: 550px; height: 500px; overflow: hidden;" ></iframe>
With the above you can't scroll, so you can edit the bold parts to your liking, change the overflow from hidden to, visible, scroll, auto, try different things to see what works for you.
First head to your Blogger's main HTML. Next, above the </head> tag, paste the following:
<!-- START XOMISSE Custom EU Cookies Notice --> <script type="text/javascript"> cookieOptions = { msg: "Information about your cookie notice", link: "Your cookie notice URL here", close: "Okay!", learn: "Learn More" }; </script> <!-- END XOMISSE Custom EU Cookies Notice -->
Edit the writing in bold with your information.
Conclusion
Don't forget to save your edits!
I do hope you've found something useful on this page. Leave me a comment below if something isn't working right! Thank you!
The next thing I suggest you read is HTML and CSS codes for your Blogger - Part three
I'd love feedback about this Blog's coding series. Feel free to leave me some!
ReplyDelete