Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #372498

    Hello!

    How can i change the text below a Featured Image in a Post? Normally it is the title of the Post.

    THX

    #372500

    Hi 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!
    Kriesi

    #372730

    ok…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, 11 months ago by schoefa2.
    #372731

    ok…i’m new so i am not so familiar with the css codes…how can i change the post title afterwards?

    #372735

    Hey!

    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!
    Yigit

    #372739

    Hey!

    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.

    #372801

    Hi!

    could you post a link to your website with the featured images you are talking about?

    Cheers!
    Andy

    #372811

    http://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

    #373018

    Hi!

    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,
    Yigit

    #373305

    ok…thx…that means it is possible to change the text for all featured images..but i can not change it individually for every picture?

    #373327

    Hi!

    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

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.