New Landing How can we help? Themeforest Theme Support Dante Heading Text Issue

Viewing 9 posts - 1 through 9 (of 9 total)
  • Posted in: Dante
  • #55541
    maximearmstrong
    Member
    Post count: 73

    Hello,

    I have an issue regarding my heading title. They just go off the page if they are too long.

    Also, i set my website width to 940, and i feel like my others heading title, which are shorter, are not really centered even if i entered the right css for it (a little bit at the right of the screen)

    My Url is http://www.pluriels.ca

    #55550
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Try adding this custom css:

    .page-heading .heading-text h1 {
      text-align: center !important;
      white-space: pre-wrap;
    }

    – Kyle

    #55562
    maximearmstrong
    Member
    Post count: 73

    Hey Kyle!

    Thanks for this! It worked!

    However, the text is still more at the right of the page, and not align with the logo. Do you have any idea regarding this?

    I have also these lines in my css

     .page-heading .heading-text {
    width:100%;
    }
    #55661
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Just remove this following line from the css above.

    text-align: center !important;

    It will align by default to the left, and it will stay aligned with the logo.

    Best Regards,
    Rui

    #57450
    maximearmstrong
    Member
    Post count: 73

    Hi Rui,

    Thanks for your answer, though this isn’t my concern. I want my text to be center aligned, but it goes off the page’s margins. I did red marks on the picture so you can figure out what i mean.

    #57484
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    That is because of the size of the text Header width. I made an experiment and if we reduce the size to fit those lines you draw in the image the text don’t have enough space and it will create a 3rd line.

    But this always depend of the title amount of characters. My suggestion is that we reduce the width of the title to fit the limits you draw but we also have to decrease a few pixels in the font size(currently is 42px) so that the title stay in 2 lines and inside the margins you defined.

    Let me know what do you think.

    Best Regards,
    Rui

    #57500
    maximearmstrong
    Member
    Post count: 73

    Hello Rui,

    Thank you for your answer! I have no problem to get a 3 lines title, so I would prefer to keep my 42px for the font height and change only the margins!

    Regards,
    Maxime

    #57515
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Thanks Rui

    #57653
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Adding another line to the custom css that Kyle provided earlier on this topic will look like this.

    .page-heading .heading-text h1 {
    text-align: center!important;
    white-space: pre-wrap;
    width: 940px;
    }

    Best Regards,
    Rui

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register