VWSとは フォーラム Lightning [ 解決済 ] How to display home page full width without margin?

このトピックには5件の返信が含まれ、3人の参加者がいます。3 週間、 3 日前 syouei-branding さんが最後の更新を行いました。

6件の投稿を表示中 - 1 - 6件目 (全6件中)
  • 投稿者
    投稿
  • #15101

    syouei-branding
    参加者

    Hi,

    I want to display my home page with full width without margin. It’s like the Landing Page for Page Builder template, not effected by the container div. How to set just only my home page content with full width?
    The page I need help: https://webtan.jp/

    (I asked this question in the WordPress support forum, but I have to resolve this question as soon as possible, so sorry to ask it on here)

    Thanks in advance.

    #15106

    RICK
    参加者

    Why don’t you change <div class="container"> to <div class="container-fluid"> on the template file you selecting?

    https://getbootstrap.com/docs/3.3/css/#overview-container

    • この返信は3 週間、 4 日前に  RICK さんが編集しました。
    #15115

    kurudrive
    参加者

    I checked your site yesterday.
    I can’t find the problem.
    Are you already solved by yourself?

    #15118

    syouei-branding
    参加者

    @RICK I’m using lightning child theme, so I cannot change <div class=”container”> to <div class=”container-fluid”> directly on the front-page.php because when I update the theme, the file will be updated. Anyway to change it?

    @kukudrive I haven’t yet solved my problem. My mean is that I want to display full-width layout (as container-fluid). If I change <div class=”container”> to <div class=”container-fluid”> directly on the front-page.php, I’m worry that when I update the theme, the file will be updated. If I change the css, it will apply to all of the pages because I cannot insert div Id to the file. Thus, I need your help.

    Thanks for all of your responses.

    #15119

    RICK
    参加者

    Why don’t you copy front-page.php to child theme and change <div class="container"> on front-page.php of child theme to <div class="container-fluid"> ?

    • この返信は3 週間、 3 日前に  RICK さんが編集しました。
    • この返信は3 週間、 3 日前に  RICK さんが編集しました。
    #15122

    syouei-branding
    参加者

    Hi @RICK, I tried to do like that. It worked.

    Thank you sincerely!

6件の投稿を表示中 - 1 - 6件目 (全6件中)

このトピックに返信するにはログインが必要です。