MyBB Community Forums
HTML - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: HTML (/thread-195062.html)



HTML - GoldenTV3 - 2016-07-03

I just got my forum up and running, but I still want to edit the html of the website but I can't find it. I want to edit the main forum page. And I'm also having a problem where someone will register and try to sign in and it'll still say they're signed in as a guest. If you want the website ----> http://thefreedomnetwork.x10host.com/forum


RE: HTML - .m. - 2016-07-03

see faq: login
cookie path should be /forum/
first you can change it in ~/inc/settings.php file
and then at Site Details of Configuration section.

for editing the html, see templates system


RE: HTML - GoldenTV3 - 2016-07-03

(2016-07-03, 03:44 AM).m. Wrote: see faq: login
cookie path should be /forum/
first you can change it in ~/inc/settings.php file
and then at Site Details of Configuration section.  

for editing the html, see templates system

Okay I found the html and edited it, but now I can't find the css for it. I used the header template and header under that. But I don't know where the css for it is. Sorry to bother you.


RE: HTML - .m. - 2016-07-03

^ required css style properties can be added / edited in global.css stylesheet of the theme

forum admin panel >> Templates & Style >> Themes >> your theme >> global.css >> edit in advanced mode (tab)


RE: HTML - GoldenTV3 - 2016-07-03

(2016-07-03, 08:57 AM).m. Wrote: ^ required css style properties can be added / edited in global.css stylesheet of the theme

forum admin panel >> Templates & Style >> Themes >> your theme >> global.css >> edit in advanced mode (tab)

Yeh I tried that and it didn't really work. Heres my code if you want

HTML

 <div class="navbar-wrapper">
        <div class="container">
            <div class="navbar navbar-default navbar-fixed navbar-fixed-top" role="navigation">
                <div class="container">
                    <div class="navbar-header">
                        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                            <span class="sr-only">Toggle navigation</span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                        </button>
                        <a class="navbar-brand accent" href="http://thefreedomnetwork.x10host.com/">The Freedom Network</a>
                    </div>
                    <div class="navbar-collapse collapse">
                        <ul class="nav navbar-nav">
                            <li class="active"><a href="index.html">Home</a>
                            </li>
                            <li><a href="/forum/index.php">Forum</a>
                            </li>
                            <li><a href="construction.php">Donate</a>
                            </li>
                            <li><a href="construction.php">Staff</a>
                            </li>
                            <li><a href="construction.php">Contact</a>
                            </li>
                        </ul>
                            <a href="play.php" class="btn btn-info navbar-btn navbar-right hidden-sm hidden-xs">IP: 50.186.108.251</a>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>

CSS in global.css

.navbar-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 20;
}

.navbar-wrapper .container {
    padding-right: 0;
    padding-left: 0;
}

.navbar-wrapper .navbar {
    padding-right: 15px;
    padding-left: 15px;
}

This code works on the main page, but not on the forum page.