MyBB Community Forums

Full Version: Square theme
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(2015-10-30, 08:11 PM)Amped- Wrote: [ -> ]Hey man, just wondering would you kindly inform me on how to add a dropdown menu next to the header menu?

Sorry but I don't make that kind of modifications, you have a lot of tutorials here on MyBB.com or even in the internet to put a dropdown menu (And you need to know a bit of css to achieve that).

(2015-10-31, 09:33 PM)Chillin Wrote: [ -> ]Hi, i really really liked your hard work and thank you! i've added you in credits on toplist and contributed as i could!

One question, i wanted to add a custom picture instead of this > http://puu.sh/l4Kxa/a71c0a43bf.png

and add menu items here > http://puu.sh/l4KAO/d78978e2c1.png

Any help? i tried to remove that freesamp.net thingyand it messed the whole orange, so please give me a little hand.

Be more specific please, you want to have only the logo on the upper side of the theme, and put the menu (Home, Panel, Staff, Search and Members) where you have the user menu?

Also, if you put the menu there, where you gonna put the user menu? into the left?

Cheers.
Ye thats right eNvy, and user menu will go, @ line Xenon Gaming Pro > http://puu.sh/ld19n/6cc6f26f97.png

Or maybe under that?
(2015-11-07, 08:12 PM)Chillin Wrote: [ -> ]Ye thats right eNvy, and user menu will go, @ line Xenon Gaming Pro > http://puu.sh/ld19n/6cc6f26f97.png

Or maybe under that?

That bar is used for the forum navigation, I don't recommend to put the menu there... Give me your website so I can check and make the modifications in my browser then I give you the code for that.
xpsamp.com/forum
(2015-11-09, 09:39 PM)Chillin Wrote: [ -> ]xpsamp.com/forum

Ok, first the logo

ACP > Templates & Styles > Templates > Square templates > Header group templates > open header template

Search this:

<div id="header">
		<div class="wrapper">
          	<div class="logo"><div class="logo2"><i class="fa fa-cube fa-fw"></i></div> {$lang->xstyled_logo}</div>
          	<div class="menu">
              	<ul>
                  	<li><a href="{$mybb->settings['bburl']}/index.php"><i class="fa fa-comments fa-2x"></i><br />{$lang->xstyled_index}</a></li>
                  	<li><a href="{$mybb->settings['bburl']}/search.php"><i class="fa fa-search fa-2x"></i><br />{$lang->xstyled_search}</a></li>
                  	<li><a href="{$mybb->settings['bburl']}/memberlist.php"><i class="fa fa-users fa-2x"></i><br />{$lang->xstyled_members}</a></li>
                  	<li><a href="{$mybb->settings['bburl']}/calendar.php"><i class="fa fa-calendar-o fa-2x"></i><br />{$lang->xstyled_calendar}</a></li>
                	<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><i class="fa fa-question-circle fa-2x"></i><br />{$lang->xstyled_help}</a></li>
              	</ul>
          	</div>
		</div>
	</div>

Replace with this:

<div id="header">
		<div class="wrapper">
          	<div class="logo"><img src="path to your custom image" alt="" /></div>
		</div>
	</div>

You need to change this

src="path to your custom image"

And insert the path where you have your own image uploaded (If you upload your image inside the folder of the theme, simply put "images/square/nameofyourimage.extension", example:

src="images/square/mylogo.png"

Now go to ACP > Templates & Styles > Styles > Square > and open Square.css

Search this:

.logo {
  	float: left;
  	font-family: 'Exo 2', sans-serif;
  	font-size: 72px;
  	font-weight: 400;
  	color: #FFFFFF;
  	margin-top: 40px;
  	transition: all 0.5s ease;
}

Replace with this:

.logo {
  	text-align: center;
  	margin: 40px auto 0 auto;
  	padding: 0px;
}

If you make all fine, you will have your custom image centered.

Now think where you want to put your menu and the user menu.
[Image: TRmZF8P.png]


I know the file, but what can I do with it so it can support: ö å ä characters?
Becuase now it's showing as in the picture
(2015-11-16, 11:28 AM)mrkiller2010 Wrote: [ -> ][Image: TRmZF8P.png]


I know the file, but what can I do with it so it can support: ö å ä characters?
Becuase now it's showing as in the picture

Character encoding of the database needs to be UTF-8. I don't know much about databases and encoding, maybe you can ask for support here on MyBB.
How can i change the Latest activity sidebar into Recent threads?

P.S i know im not using the latest version, but this version works for me the best
(2015-11-17, 06:36 PM)korija Wrote: [ -> ]How can i change the Latest activity sidebar into Recent threads?

P.S i know im not using the latest version, but this version works for me the best

The only thing that code does is to import the recent activity from the portal (And isn't recommended, that's why I remove that code in the latest update).

Is better if you use a plugin.
(2015-11-17, 07:30 PM)eNvy Wrote: [ -> ]
(2015-11-17, 06:36 PM)korija Wrote: [ -> ]How can i change the Latest activity sidebar into Recent threads?

P.S i know im not using the latest version, but this version works for me the best

The only thing that code does is to import the recent activity from the portal (And isn't recommended, that's why I remove that code in the latest update).

Is better if you use a plugin.

I tried the plugins, but i couldn't get them into the sidebar :/