Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   How to add a logo to your site?! (http://www.mysidiaadoptables.com/forum/showthread.php?t=5563)

goofyunicorn 04-03-2018 01:44 PM

Quote:

Originally Posted by Dinocanid (Post 37075)
$10 maybe? You could also make your own theme like this:
  • Create a new subfolder inside "templates" and name it whatever you want (I don't recommend names with spaces)
  • Create 3 new files: header.tpl, style.css, template.tpl. Inside header.tpl, paste this and save it:
    HTML Code:

    <html>
    <head>
    {$header->loadFavicon("{$home}favicon.ico")}
    {$header->loadStyle("{$home}{$temp}{$theme}/media/style.css")}
    {$header->loadStyle("{$home}{$css}/menu.css")}
    {$header->loadAdditionalStyle()}
    <!--[if lte IE 6]>
    {$header->loadStyle("{$home}{$css}/media/dropdown_ie.css")}
    <![endif]-->

    </head>

    For style.css, you could start off by copying the code from style-city.css and adjusting stuff how you like.
  • Inside template.tpl is where most of the layout goes. You can arrange where you want things to go with HTML in here. {$document_title} shows the title of whatever page you're on, {$document_content} shows the page content, {$menu} shows the dropdown menu, etc.
    It is also possible to add your own menu from scratch instead of using {$menu} (which I personally find easier). Here is an example of one I made with Bootstrap:
    HTML Code:

    <nav class="nav nav-fill" style="background-color: #0f0f0f; width:900px; font-family:'Bubblegum Sans', cursive; font-size:100%;">
      {if $logged_in} 
      <a class="nav-item nav-link active" href="/exploring" style="font-size:16px;"><i class="far fa-compass"></i> Explore</a>
      <a class="nav-item nav-link active" href="/tasklist" style="font-size:16px;"><i class="fas fa-paw"></i> Quests</a>
      {/if}
      <a class="nav-item nav-link active" href="/wiki" style="font-size:16px;"><i class="fas fa-book"></i> Wiki</a>
      <a class="nav-item nav-link active" href="http://wild-souls-game.proboards.com/" style="font-size:16px;"><i class="fas fa-users"></i> Forum</a>
    </nav>

  • Go to the adminCP and click "add new theme". Only fill in the first 2 fields (folder name must be the same as the one you created), and click the checkbox before submitting. Now you should be able to try it out at "yoursite.com/changestyle"

Oh wow great! So how do I customise it?

Dinocanid 04-03-2018 01:51 PM

Quote:

Originally Posted by goofyunicorn (Post 37076)
Oh wow great! So how do I customise it?

To customize it, you'll have to tamper with the css and template.tpl file. The template file is where most of it will be though. Here's an example of a template using the tutorial layout from W3schools:

HTML Code:

<body>

<div class="container">

<header>
  <h1>Site name or Logo</h1>
</header>
 
<nav>
  <ul>
    <li><a href="#">Link 1</a></li>
    <li><a href="#">Link 2</a></li>
    <li><a href="#">Link 3</a></li>
  </ul>
</nav>

<article>
  <h1>{$document_title}</h1>
  <p>{$document_content}</p>
</article>

<footer>Copyright info goes here</footer>

</div>

</body>
</html>


goofyunicorn 04-03-2018 03:06 PM

Quote:

Originally Posted by Dinocanid (Post 37077)
To customize it, you'll have to tamper with the css and template.tpl file. The template file is where most of it will be though. Here's an example of a template using the tutorial layout from W3schools:

HTML Code:

<body>

<div class="container">

<header>
  <h1>Site name or Logo</h1>
</header>
 
<nav>
  <ul>
    <li><a href="#">Link 1</a></li>
    <li><a href="#">Link 2</a></li>
    <li><a href="#">Link 3</a></li>
  </ul>
</nav>

<article>
  <h1>{$document_title}</h1>
  <p>{$document_content}</p>
</article>

<footer>Copyright info goes here</footer>

</div>

</body>
</html>


Would you take credits or currency for Beau's Aviary for a theme or is that not enough? :)

Dinocanid 04-03-2018 03:49 PM

Quote:

Originally Posted by goofyunicorn (Post 37078)
Would you take credits or currency for Beau's Aviary for a theme or is that not enough? :)

I could do it without charge honestly, since I'm not really confident enough in my CSS skills to commission themes regularly (I still need a lot of practice).

goofyunicorn 04-03-2018 05:06 PM

Quote:

Originally Posted by Dinocanid (Post 37079)
I could do it without charge honestly, since I'm not really confident enough in my CSS skills to commission themes regularly (I still need a lot of practice).

Would you be able to have a go at one for me? I am going to do a picture for the back ground and then I will send it to you if you don't mind. :)

Dinocanid 04-03-2018 05:45 PM

Quote:

Originally Posted by goofyunicorn (Post 37080)
Would you be able to have a go at one for me? I am going to do a picture for the back ground and then I will send it to you if you don't mind. :)

Sure! I would need an example or something of how you want the theme to look though.

goofyunicorn 04-04-2018 06:18 AM

Quote:

Originally Posted by Dinocanid (Post 37081)
Sure! I would need an example or something of how you want the theme to look though.

Here is the background.

I was hoping that it would be white with this as the main background picture with the footer and header being just plain white. If possible, could the titles and headers be the colour of the blue feathers and then the rest of the text the colour of the grey feather? :)


Dinocanid 04-04-2018 10:18 AM

Quote:

Originally Posted by goofyunicorn (Post 37082)
Here is the background.

I was hoping that it would be white with this as the main background picture with the footer and header being just plain white. If possible, could the titles and headers be the colour of the blue feathers and then the rest of the text the colour of the grey feather? :)


Sure! How would you want it to look layout-wise though?

goofyunicorn 04-04-2018 10:31 AM

Quote:

Originally Posted by Dinocanid (Post 37083)
Sure! How would you want it to look layout-wise though?

I would like the fonts to be Cutie Patootie Skinny is that is okay? The text being around 23 px. The Menu at the top and then the User Links etc at the side like normal. :) Buttons plain white with maybe an icon on the left of each button which is one of the feathers off the background, just very small. User friendly interface and preferably mobile friendly if possible. If you need more info let me know :) May I ask how long it will take for you to make this? No rush, it is just out of interest. :)

Dinocanid 04-04-2018 10:59 AM

Quote:

Originally Posted by goofyunicorn (Post 37084)
I would like the fonts to be Cutie Patootie Skinny is that is okay? The text being around 23 px. The Menu at the top and then the User Links etc at the side like normal. :) Buttons plain white with maybe an icon on the left of each button which is one of the feathers off the background, just very small. User friendly interface and preferably mobile friendly if possible. If you need more info let me know :) May I ask how long it will take for you to make this? No rush, it is just out of interest. :)

I might have it ready for you by the weekend, but I'll send progress screenshots as I go along. Most of the time will be making sure everything scales well on smaller/mobile devices, since that's the most tricky.


All times are GMT -5. The time now is 04:15 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.