You are not logged in. Login or Register to participate and more giveaway every night by admin

Warning: Any suspicious activity will result in an immediate ban and removal from our forum. Follow the rules and respect the community.

Reminder: New users cannot post links until they have at least 1000 posts. Please engage in discussions before sharing links.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Meta theme Browser colour Html Code
#1
To set a meta theme color for your MyBB forum so it matches your desired design aesthetics, follow these steps:

Step 1: Add Meta Theme Color to Your Header
The meta theme-color tag is placed inside the <head> section of your MyBB templates.
  • Log in to your MyBB Admin Control Panel.
  • Navigate to Templates & Style > Templates.
  • Select your active theme’s template set.
  • Open the headerinclude template.

Step 2: Insert the Meta Theme Color Tag
Add the following code before the closing </head> tag:

PHP Code:
<meta name="theme-color" content="#061061"

Replace #061061 with your desired colour (adjust to match your theme).
Step 3: Save the Template
  • Click Save Template and refresh your forum to see the changes.

  • Explanation
  • The theme-colour meta tag changes the colour of the browser’s address bar on mobile devices, giving a more immersive experience.
  • This customization works for most modern browsers, especially Chrome on Android and other WebKit-based browsers.
Example Customization for NetPen Pro
PHP Code:
<meta name="theme-color" content="#ff7614"

This sets the theme colour to #ff7614 (GoNaija's theme). Adjust the colour as needed for your specific brand or design.
Reply
  


Bookmarks

Possibly Related Threads…
Thread Author Replies Views Last Post
  Html code for theme colour Shedi 0 26 02-17-2025, 10:51 PM
Last Post: Shedi

Forum Jump:


Users browsing this thread: