Color and other footer's parameters in Liferay

前端 未结 2 1507
旧巷少年郎
旧巷少年郎 2021-01-26 05:58

I need to create footer which will be just like small orange bar, and I need to make it responsive, I mean when I resized my window everything should be ok. How can I do that?

相关标签:
2条回答
  • 2021-01-26 06:42

    To make your footer responsive, you can use Liferay supported Twitter Bootstrap classes, aided by your own custom styles controlled through media queries in custom.css of theme:

    Example:

    <div id="footer" class="row-fluid">
        <div class="span12 text-center">
            <p class="powered-by">
                #language ("powered-by German")
            </p>
        </div>
    </div>
    

    Liferay Reference

    0 讨论(0)
  • 2021-01-26 06:54

    In my custom.css I write this:

    #footer {
        text-align: center;
        background: #ffa500
    }
    

    and get orange centered footer.

    0 讨论(0)
提交回复
热议问题