Google Blog has a mobile-only theme among its default themes.
In this mobile-only theme, when using labels, they are not expanded by default.
As a result, it is cumbersome to always click to expand the labels in order to click the desired label.
So, is there a way to keep the labels always expanded? I searched and found a method.
The method is as follows.
label will always remain expanded. |
1. We need to modify the HTML.
"Blogger dashboard → Click on the Themes tab on the left → Click the arrow in 'My Theme' → Click on Edit HTML."
2. Modify the code as follows:
For your reference, this code appears in several places, and I have modified all of them.
Original code:
<b:attr cond='data:view.isLabelSearch' name='open' value='open'/>
Modified code:
<!-- <b:attr cond='data:view.isLabelSearch' name='open' value='open'/> -->
<b:attr name='open' value='open'/>
Explanation:
First, in the modified code, the original code is backed up by commenting it out.Second, the phrase "cond='data.isLabelSearch'" has been removed. Since the original code is backed up, it can be restored later if needed.
** By placing the labels at the end of the post, as shown in the image below, they will always remain expanded, making them easy to click quickly.
View of labels placed at the end of the post. |
No comments:
Post a Comment