Italicized words disappear
-
RE: blog at http://eddiethompson.org
I have had a problem with WordPress for a couple of years and haven’t yet found a fix. I use a customized Twenty Ten template. Apparently some of the CSS customization code prevents italic from working. Whenever I select a text and use the italic tool, those words disappear when posted,
I have tried to follow some forum advice, but it tends to create more appearance problems than it fixes. Specifically, when I change the CSS codes as advised, the line showing stating the number of photos in the post reappears. It is a part of Twenty Ten that I have tried to eliminate through CSS codes.
So MY QUESTION: How can I make the italics option work without it causing the annoying line “3 Photos in the post” to reappear?
Thank you for your help.
W Walker
My CSS customization coding is below:
.format-gallery .size-thumbnail img,.category-gallery .size-thumbnail img {
border:0 solid #fff;
margin-bottom:0;
}.home .entry-content p {
margin-top:-20px;
}.entry-utility {
display:none;
}.entry-content p em {
display:none;
font-size:14px;
line-height:20px;
}blockquote {
width:13em;
float:right;
font-family:helvetica;
font-size:120%;
font-style:italic;
margin:0;
} -
Hi there,
The issue you are experiencing is related to the following custom CSS you have on your site:
.entry-content p em { display:none; font-size:14px; line-height:20px; }The property “display:none;” hides all italic text in your posts. If you would like to use italics in your posts, you will need to replace the CSS above with this:
.entry-content p em { font-size:14px; line-height:20px; }Once you make this change, there are a couple solutions that will remove the “This gallery contains X photos” line from your posts:
1. You can change the Post Format of your posts. Your posts are currently in the Gallery format, which creates that line in each post. If you switch to the Standard format, that line will go away. (You can do this in the Format module in the post editor.)
2. If you are only placing one image in your post, add it as a single image rather than as a gallery. We have instructions for inserting images into your post on the Images support page.
If you have any questions about this, please let me know!
-
Dear Rachelmc,
That you for your reply. Unfortunately, it has not resolved my issue.
I omitted the line “display: none;” as recommended, and as you indicated “This gallery contains x photos” did appear.
The first suggested fix-option for this was to post the article as standard rather than gallery format. That doesn’t work for me. I really need for all the post to be visible in gallery format on the front page. This option displays the full length article on the front page.
The second option was conditional upon inserting only one image per post, which is what I typically do. Your suggestion: “add it as a single image rather than as a gallery.” I have repeated the insert-image function on a test page, and I see no way to differentiate between inserting as a single image vs inserting as a gallery. Also read thru the SUPPORT page on image insertion and saw no option to select inserting as single image vs gallery.
So, I think I need some more explanation on how to “add it as a single image rather than as a gallery.”
Generally speaking, removing the line about the number of photos with CSS coding and its effect on italics seem a little bizarre to me. How does one relate to the other? Is this a bugaboo in the Twenty Ten template coding or is this a standard issue relating to many developer templates created for WordPress?
I appreciate you help.
-
The first suggested fix-option for this was to post the article as standard rather than gallery format. That doesn’t work for me. I really need for all the post to be visible in gallery format on the front page. This option displays the full length article on the front page.
You can adjust what displays on the front page by using the More tag in your posts. You can add the More tag where you want the “Continue Reading” link to appear, and readers can click through to read the rest of the post. If you have any questions about how to use this tag, please let me know!
I think I need some more explanation on how to “add it as a single image rather than as a gallery.”
Sure thing! I’m happy to explain this further. However, I wanted to note that if you continue to use the gallery post format for your posts, it will treat your images like galleries and still include the “This gallery contains x photos” text. This is a feature of the gallery post format in the Twenty Ten theme and is automatically added in to your post when it has that format. Sorry if that wasn’t clear in my last reply!
When adding a single image, after you click the “Add Media” button, make sure that you do one of these steps next:
– Upload a new image to use an image that is on your computer
– Click on “Insert from URL” to use an image from another website
– Click on the Media Library tab to use an image you already uploadedClicking on “Create Gallery” will create an image gallery, instead of inserting a single image. We also have specific instructions for Adding a Gallery to your page.
Generally speaking, removing the line about the number of photos with CSS coding and its effect on italics seem a little bizarre to me. How does one relate to the other? Is this a bugaboo in the Twenty Ten template coding or is this a standard issue relating to many developer templates created for WordPress?
Each theme treats post formats (like the gallery format) a bit differently. Twenty Ten in particular adds this line to the post in italics. CSS workarounds to theme behavior (such as removing content like this) run the risk of having unintended side effects — in this case, by targeting italic text your custom CSS was removing all italics from your posts. I highly recommend using different methods (such as using different post formats and the More tag) to deal with this issue.
Please let me know if you have additional questions about this. :)
-
Rachelmcr:
I studied your response and read the More Tag tutorial in the WP Support section a couple of times. I agree, the More Tag function would be the best way to work around the italic-missing problem.
As is often the case, one fix leads to another. Two issues emerge when using More Tag option.
1) As predicted on the support page, the use of More Tag option creates formatting issues. I typically copy-paste from Word. So using the Paste from Word option might solve this. I am working on an active blog, so there is a limit to the trial and error tinkering unless I do it in the middle of the night. I will used the Word paste option on the next post and see if it solves formatting issues.
2) Using the More Tag option on each article as a means of creating the gallery appearance in the standard mode presents another issue. All the Share and Like menus options appear under each article introduction. Rather than the clean look of multiple articles listing with summaries and “continue reading” links, I wind up with a very clutters look, i.e, Share and Like menus under each article intro.
I think the More Tag option would work for me if I could avoid displaying all the Share and Like menus until full article is displayed using the “continue reading” link.
Any way to do that?
Walt
There are a number of formatg
-
As predicted on the support page, the use of More Tag option creates formatting issues. I typically copy-paste from Word. So using the Paste from Word option might solve this.
I highly recommend using Paste from Word whenever you copy and paste text from Word. The kind of code that is created by Word can often create problems on blogs, and this feature is designed to eliminate that extra code.
All the Share and Like menus options appear under each article introduction. Rather than the clean look of multiple articles listing with summaries and “continue reading” links, I wind up with a very clutters look, i.e, Share and Like menus under each article intro.
You can control which pages display your share and like buttons under Settings > Sharing in your dashboard. To remove them from the front page, you can uncheck the box next to “Front Page, Archive Pages, and Search Results” on the Sharing settings page. You can find additional information about this here: Customizing Sharing Settings
-
This has all been very helpful, but since I am working on a live site, one more question. I need to experiment without actually posting and many of the peculiarities of the issues we have discussed can only be seen after actual posts.
MY QUESTION: If I select “Visibility: Private” does that mean I can hit the “Publish” button without activating the Publicize functions (facebook and twitter postings) and without sending an email version to all those who have subscribed?
If this is not the case, I will need to create a duplicate site to test all the setting changes.
W
-
MY QUESTION: If I select “Visibility: Private” does that mean I can hit the “Publish” button without activating the Publicize functions (facebook and twitter postings) and without sending an email version to all those who have subscribed?
If your blog is set to private, posts you publish will not be sent out to your subscribers unless those subscribers are authorized to view the private blog.
However, posts can still be publicized (to Facebook, Twitter, etc.). To keep a post from being publicized, click the Publicize Edit link in the post editor and uncheck the services listed there. You can find additional instructions for this here: Using Publicize
In other words, you should be able to set your site to private and publish test posts to your blog. :) If you have any questions about this, please let me know!
-
NO REPLY REQUESTED
One unexpected benefit of using standard mode with more tag option is that in emails sent to subscribers, instead of the full text of the article being emailed, the email cuts off at the “more tag” insert. Consequently, readers predisposed to read the entire article will click through and visit the site.
W Walker
- The topic ‘Italicized words disappear’ is closed to new replies.