WordPress.org

Support

Support » Themes and Templates » Mantra » [Resolved] Title and description on 2 lines

[Resolved] Title and description on 2 lines

  • 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.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Moderator Andrew Nevins

    @anevins

    Forum moderator

    Reduce the width of the heading HTML element.

    I’m not specialist in CSS… how to do this ?

    Moderator Andrew Nevins

    @anevins

    Forum moderator

    Does mantra have a Custom CSS section of the dashboard?

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

    Moderator Andrew Nevins

    @anevins

    Forum moderator

    In your Custom CSS section, add this;

    #site-description {
     clear: left;
    }

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

    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

    Moderator Andrew Nevins

    @anevins

    Forum moderator

    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?

    Never mind, thank you very much for your help !

    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 !

    Moderator Andrew Nevins

    @anevins

    Forum moderator

    And Thanks to you for contributing to the WordPress community 🙂

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Resolved] Title and description on 2 lines’ is closed to new replies.
Skip to toolbar