WordPress.org

Ready to get started?Download WordPress

Forums

Mantra
[resolved] Title and description on 2 lines (11 posts)

  1. vifcoyot
    Member
    Posted 1 year ago #

    Hello,
    Title and description are on the same line in the header, and I'd like to have descrition just under title : how can i do this ?

    Thanks.

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Reduce the width of the heading HTML element.

  3. vifcoyot
    Member
    Posted 1 year ago #

    I'm not specialist in CSS... how to do this ?

  4. Andrew
    Forum Moderator
    Posted 1 year ago #

    Does mantra have a Custom CSS section of the dashboard?

  5. vifcoyot
    Member
    Posted 1 year ago #

    There's the theme editor coming with wordpress. In mantra settings, we can add custom CSS.

  6. Andrew
    Forum Moderator
    Posted 1 year ago #

    In your Custom CSS section, add this;

    #site-description {
     clear: left;
    }

    The width thing I envisaged wouldn't have worked properly.

  7. vifcoyot
    Member
    Posted 1 year ago #

    Working thanks a lot ! But not perfectly If I could abuse...
    - there's too much space beetween title and description (like a blank line)
    - title and description are not aligned

    It looks like this :

    Title
    
     Description

    And i'd like :

    Title
    Despription
  8. Andrew
    Forum Moderator
    Posted 1 year ago #

    Sorry, these kind of modifications should be implemented yourself because it's really difficult to communicate how far you want things up or down.
    To me? To you? To me? To you?

  9. vifcoyot
    Member
    Posted 1 year ago #

    Never mind, thank you very much for your help !

  10. vifcoyot
    Member
    Posted 1 year ago #

    Resolved !

    I've added these lines in custom CSS field :

    #site-description {
      clear: left;
      padding-left:20px;
      line-height:0px;
      margin-top:0px;
    }

    It's now perfect, thanks again Andrew, without your help it was impossible for me !

  11. Andrew
    Forum Moderator
    Posted 1 year ago #

    And Thanks to you for contributing to the WordPress community :)

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic