-
AuthorPosts
-
December 29, 2014 at 10:37 am #372498
Hello!
How can i change the text below a Featured Image in a Post? Normally it is the title of the Post.
THX
December 29, 2014 at 10:53 am #372500Hi schoefa2!
add this to your custom.css stylesheet in folder /css/ or to the quick-css panel located in your wordpress backend at Enfold->General Styling:#top h2.post-title { font-size: 28px; }
Cheers!
KriesiDecember 29, 2014 at 6:33 pm #372730ok…i’m new so i am not so familiar with the css codes…how can i change the post title afterwards?
- This reply was modified 9 years, 12 months ago by schoefa2.
December 29, 2014 at 6:37 pm #372731ok…i’m new so i am not so familiar with the css codes…how can i change the post title afterwards?
December 29, 2014 at 6:42 pm #372735Hey!
You can edit the post and change the title if that what you would like to change. If not, please post a screenshot and show the changes you would like to make. You can upload your screenshots on imgur.com or Dropbox public folder and post the links here.
Cheers!
YigitDecember 29, 2014 at 6:49 pm #372739Hey!
I am not sure, if we are talking about the same issue.
I have done a post and this post has an featured image. If you click on the image it gets full size and you see a text below. This text is the title of the post. I would like to change this text to a Copyright information.
December 29, 2014 at 8:56 pm #372801Hi!
could you post a link to your website with the featured images you are talking about?
Cheers!
AndyDecember 29, 2014 at 9:15 pm #372811http://www.beachsummergames.com/erster-programmpunkt-fixiert/
here we go! the caption of the picture is the same as the post title it belongs to! i would like to change this caption.
thx for help
December 30, 2014 at 11:53 am #373018Hi!
Please go to Enfold/includes folder and open loop-index.php file and find
$featured_img_desc = the_title_attribute('echo=0');
and change it to
$featured_img_desc = "Here goes your custom text";
Best regards,
YigitDecember 30, 2014 at 9:35 pm #373305ok…thx…that means it is possible to change the text for all featured images..but i can not change it individually for every picture?
December 30, 2014 at 10:20 pm #373327Hi!
Try changing the line to this.
$desc = get_post( get_post_thumbnail_id() ) -> post_excerpt; $featured_img_desc = ( $desc != null ) ? $desc : the_title_attribute( 'echo=0' );
And then click on the featured image when editing your post and add some text to the caption field.
Cheers!
Elliott -
AuthorPosts
- You must be logged in to reply to this topic.