Add custom text on header image below entry title

  • Author
    Posts
  • #101567

    dkordelius
    Member

    Hi,
    Thanks for a great theme, love it!
    We wish to add text, a solution like the text on the header images on this site: https://iode-av.com/
    I have seen you help another person with this before (closed case), but it did not quite work for our site.

    Site: http://www.guitargeeks.se

    This is the CSS we’ve used:
    #fullscreen-header .featured-slide .post-258 .entry-title:after {
    content: ‘Vi hjälper dig att hitta din ton’;
    display: block;
    font-size: 42px;
    margin-top: 30px;

    Thanks again!

    The blog I need help with is guitargeeks.se.

    #101686

    tarasdashkevych
    Theme Author

    Hello,
    I am glad you like the theme! :)

    “I have seen you help another person with this before (closed case), but it did not quite work for our site.”
    – Please remove this code from your Custom CSS:

    #fullscreen-header .featured-slide .entry-title {
        display: inline-flex;
    }

    After removing this css, your custom text should be displayed under the title.

    Best,
    Taras

    #101722

    dkordelius
    Member

    Thank you Taras for your quick reply!
    I think I managed to follow the instructions given, but it did not turn out as expected. can you please advice? Thanks.

    The code now looks like this:
    .post-258 after {
    content: ‘Vi hjälper dig att hitta din ton’;
    font-size: 42px;
    margin-top: 30px;

    #101734

    tarasdashkevych
    Theme Author

    Hi,

    Please follow instruction that are described here: https://premium-themes.forums.wordpress.com/topic/targeting-titles-of-pages?replies=12

    The custom text should be added after the title. Also, make sure to remove the css that I’ve mentioned in the previous reply.

    Thank you,
    Taras

The topic ‘Add custom text on header image below entry title’ is closed to new replies.