• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Noob Questions :(

#1
  • Use Full Friendly URLs
If you enable this option, the links generated by the system will not include "index.php?". However, to enable this, mod_rewrite must be available and an appropriate .htaccess file must be in place.

What does this do?
 

Jake Bunce

XenForo moderator
Staff member
#7
Just wondering how you can center the logo and change logo link?
Edit this template:

Admin CP -> Appearance -> Templates -> header.css

Change this:

Code:
	#logo
	{
		display: block;
		float: left;
		line-height: @headerLogoHeight;
		height: @headerLogoHeight;
		vertical-align: middle;
	}
To this:

Code:
	#logo
	{
		display: block;
		text-align: center;
		line-height: @headerLogoHeight;
		height: @headerLogoHeight;
		vertical-align: middle;
	}
The link is:

Admin CP -> Home -> Options -> Basic Board Information -> Home Page URL
 

Jake Bunce

XenForo moderator
Staff member
#10
Here are the navbar background and link colors:

http://xenforo.com/community/threads/change-the-color.8749/#post-120671

_____

Screen shot 2010-12-08 at 12.37.55 AM.png

The moderator bar colors are in this template:

Admin CP -> Appearance -> Templates -> moderator_bar.css

The background (@primaryDarker):

Code:
#moderatorBar
{
	background-color: @primaryDarker;
	border-bottom: 1px solid @primaryLightish;
	font-size: 11px;
}
The link colors (@primaryLighter and @primaryLighterStill for the normal and hover states):

Code:
#moderatorBar a,
#moderatorBar .itemCount
{
	color: @primaryLighter;
}

	#moderatorBar a:hover
	{
		text-decoration: none;
		background-color: @primaryDark;
		color: @primaryLighterStill;
	}
 

Jake Bunce

XenForo moderator
Staff member
#14
That's all in this template:

Admin CP -> Appearance -> Templates -> sidebar.css

By the way, this stuff is in the style properties too. It depends on whether you want to edit the CSS directly or use the interface:

Admin CP -> Appearance -> Style Properties -> Sidebar
 

Jake Bunce

XenForo moderator
Staff member
#19
sorry is there a way to make the link forums open in a new tab?
Edit this template:

Admin CP -> Appearance -> Templates -> node_link_level_2

Find this code:

Code:
		<div class="nodeText">
			<h3 class="nodeTitle"><a href="{xen:link link-forums, $link}" data-description-x="#nodeDescription-{$link.node_id}">{$link.title}</a></h3>
			<xen:if is="{$link.description}"><blockquote class="nodeDescription muted baseHtml" id="nodeDescription-{$link.node_id}">{xen:raw $link.description}</blockquote></xen:if>
		</div>
Add target="_blank" to the link, like this:

Code:
		<div class="nodeText">
			<h3 class="nodeTitle"><a href="{xen:link link-forums, $link}" data-description-x="#nodeDescription-{$link.node_id}" target="_blank">{$link.title}</a></h3>
			<xen:if is="{$link.description}"><blockquote class="nodeDescription muted baseHtml" id="nodeDescription-{$link.node_id}">{xen:raw $link.description}</blockquote></xen:if>
		</div>