Search box
-
Hi all
I cannot see the answer on this topic in the forum.
I have inserted an adsense code in an action hook widgets, and placed it before the content.
Search box:
Is it possible to display only the titles when people use search box?
There is now shown an excerpt of content
It does not look pretty at all.
Add this to Custom CSS or child-theme style.css.
.search .post-meta, .search .entry-content, .search .entry-footer {
display: none;
}WoW ….. it works and looks great.
Many many thanks for your help.
I have additional questions.
Is it possible to make text smaller?
Can you answer why adsense advertising disappears on the right side, and leave an empty field?
There is the permitted number of blocks.
By the way, the Graphene theme is really a good theme and complete, so you do not have to use too many plugins.
Quote:Is it possible to make text smaller?Which text? Title on search results?
.search .entry-title a {
font-size: 20px;
}To decrease text size for content, go to Graphene Options –> Display –> Text Style Options –> Content Text and enter text size in Text size.
Quote:Can you answer why adsense advertising disappears on the right side, and leave an empty field?You have a banner under header menu and two ad blocks in left sidebar. May be that’s why the one in right sidebar isn’t showing up. I know that second one in left sidebar is just a text ad block. That shouldn’t be counted for 3rd rich media ad. But who know what Google thinks!
I solved the problem with adsense. I removed all advertising from the mid-section.
The box with the date: I did not figure out how to change size, but it is not necessary.
By the way, the header text, I have changed the text size and moved the text into the center.
If someone is interested in how, is the code:
.header_title {
text-align: center;
}
.header_desc {
text-align: center;
}
Even tighter code,
.header_title, .header_desc {
text-align: center;
}🙂
Viewing 7 posts - 1 through 7 (of 7 total)
- You must be logged in to reply to this topic.
