align intro text

  • Posted in : Photographer
  • kashf
    Participant

    In the photographer theme, the intro text is centred. I’d like it to be left-justified, because it gets cut off in the mobile version.

    I tried this short code but it did not work:

    [intro align=”alignleft”] Here is my intro text. [/intro]

    Any suggestions?

    serkan
    Moderator

    Hi @kashf;
    You can use this custom css code;

    .intro h2 { text-align: left; padding-left: 1em; }

    http://www.pixelwars.org/forums/topic/how-to-use-custom-css-for-wordpress-themes/
    Thanks

    kashf
    Participant

    Thanks – that works great for the first line. However, I’d still like the 2nd line (the one that scrolls) to be slightly indented.

    ahmetsali
    Keymaster

    Hi, edit your page and switch to the Text tab of your content editor and wrap first word of the line you want to make indented, like this;

    <span style="padding-left: 10px;">I capture</span>
    
Viewing 4 posts - 1 through 4 (of 4 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