Showing posts from February, 2025

Blogger - Open In New Tab

This allows for escaping out of an iframe. It must go into the HTML. It works after the <body> tag.

Individual Pages in Blogger

I am trying to make one page different and was availing myself of the help provided at the Blogger Help forum, at the multiple static pages conditional tags thread.The code I pasted in the theme HTML was:

box-sizing breaks svg

I was looking up some things and wound up at W3Schools where it was suggested to put this at the top of the CSS (minus the comment):

Changes Made to Blogger CSS

What I have for the Links weblog at the top of the style rules in Blogger theme HTML:

Code for Blogger Theme to Change Inside Pages

I was able to get an inside page to appear with no header or share button by putting this line in the theme HTML, just after the <body> tag, with the other lines similar:

Formatting Posts

HTML <p>This is a simple HTML code </p>

Clearing White Space Around Header

#header{margin-top:-30px; margin-bottom:-10px;}body.item-view #header{margin-top:0; margin-bottom:0;} 
Goes in Add CSS in theme customize dropdown. First line covers the front page. Second line is to preserve the inside pages.

CSS For Blogger Weblog

To make the text underneath the copyright the same size and to size up the sidebar links for the gadget.

Length of Posts

I wonder if there's a way to truncate the posts so they appear only a set amount on the front page.                                                                                                                                                                                                                            …

The white box around Google Custom Search

The search form provided by Google has a block around it with a solid white background. It's okay on a white page but not so great otherwise. Here is a fix:

Form Input Background

This is a way to eliminate the background change on a form input when using a suggestion button on the keyboard. This is on an Android tablet.

Which link was clicked?

To detect which link was clicked inside an iframe:

Styling inside an iframe?

This would be kind of cool if it works. I don't really have a need for something like this right now but it would probably be fun to play with.

Always a problem

My Blogger profile link is not working from inside an inline frame.

Determining Whether Mobile or Desktop

I found this via the AI on Google search:

code posting

Thanks to hilite.me for the source code beautifier tool.
This code is from the Page Plugin by Facebook.At the top of the page, just after the body tag:

Code in Posts

Code block from How to add code snippets in blogger posts

Test

test 

Hello

First post on new weblog.