Positioning the logo in a skin

This forum is for all Flare issues not related to any of the other categories.
Post Reply
leep
Propeller Head
Posts: 29
Joined: Tue Nov 29, 2016 11:07 am

Positioning the logo in a skin

Post by leep »

Hello. A client asked that we move the position of the logo in the skin so that when help is generated, the logo will appear flush left. The default position of the logo in compiled help is, oh, say, three-quarters of an inch from the left side. I looked in the Logo section of the Styles tab in the skin, and positioning of the logo doesn't appear to be an option. Does anybody know a way to move the logo?
Daniel Ferguson
Propeller Head
Posts: 77
Joined: Wed Jul 10, 2013 12:34 pm
Location: Salt Lake City
Contact:

Re: Positioning the logo in a skin

Post by Daniel Ferguson »

You can set the margin (or negative margin if needed) in the stylesheet. Assuming you're using the TopNav skin, the CSS selector for the logo is:

Code: Select all

.tab-bar-section a.logo


So you could add something like this right to your stylesheet:

Code: Select all

.tab-bar-section a.logo {
margin-left: -50px;
}
or whatever the margin left value needs to be. Give that a try.
Daniel Ferguson
Certified Flare Trainer & Consultant
smartoutput.com
leep
Propeller Head
Posts: 29
Joined: Tue Nov 29, 2016 11:07 am

Re: Positioning the logo in a skin

Post by leep »

Thanks for the tip. But we're using an HTML skin, not top level, so this didn't work. Any suggestions?
NorthEast
Master Propellus Maximus
Posts: 6426
Joined: Mon Mar 05, 2007 8:33 am

Re: Positioning the logo in a skin

Post by NorthEast »

There's no setting for the logo position in the HTML5 Tripane skin.

The logo looks like it has a hard-coded margin:

Code: Select all

#header .logo { margin-left: 20px; }
If you really need to change this, then I'd suggest adding your own 'skin stylesheet', as described in my blog post here:
https://ukauthor.wordpress.com/2014/08/ ... tml5-skin/
Post Reply