GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Theme or Stylesheet change

Click to view RSS...
Author How to change to a new stylesheet
Posted Saturday, February 16, 2013 - Post #31288
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Customers
GenoPro version: 2.0.1.4

Last Login: Thursday, June 30, 2016
Posts: 141, Visits: 294
The are about 11 stylesheets available in the options of the latest skin.
Unfortunately, none of those options offer a theme that is like the original ie. a single line heading with the icons on the left and the title on the right. I would have thought that the default would be like that.
Does any know how to include such a stylesheet?
If not, does anyone know where the stylesheets are located in the skin so I could play with it.
Thanks
Posted Sunday, February 17, 2013 - Post #31291
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 2 days ago @ 9:23 PM
Posts: 3,464, Visits: 26,854
Essentially themes are defined by files in the folders below Code/Local/themes.  a 'themes.css' file in each folder can be used to override settings in style.css and similarly images referenced from css can be overriden by images from the corresponding images folder for that theme.

In addition there are Configuration Parameter settings such as StyleSheet which defines the them folder to be used and the suffix following the underscore is additive bit sensitive value with the default of 0 indicating icon menus and no 'curvy boxes'. add 1 for text menus and add 2 for curvy boxes so add 3 for both.

If you add your own theme folder then amend ConfigMsgEN.xml accordingly.



 The Parameter 'TitlePosition' does what it says.

Some thing are fixed by code/html so in your case to achieve the old layout use TitlePosition 'B' and change style.css line 176

.title_bottom {display:@[Report.Write Util.IfElse(Not Session("TitlePosition")="T",     "block", "none")]@;}
 to
.title_bottom {display:@[Report.Write Util.IfElse(Not Session("TitlePosition")="T",     "inline", "none")]@;}

and edit default.htm line 90

<frameset @[Report.Write Util.IfElse(Session("fUseIconMenu"),"id=""outer"" rows=""80,*""","id=""outer"" rows=""80,*""")]@ onload="javascript:HomePageInit();">
to
<frameset @[Report.Write Util.IfElse(Session("fUseIconMenu"),"id=""outer"" rows=""45,*""","id=""outer"" rows=""80,*""")]@ onload="javascript:HomePageInit();">



I can add a TitlePosition 'C' (Centre) option and some code chamges to achieve the above.





'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Sunday, February 17, 2013 - Post #31292
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Customers
GenoPro version: 2.0.1.4

Last Login: Thursday, June 30, 2016
Posts: 141, Visits: 294
I did the changes in style.css and default.htm but I didn't understand what needs to be done with TitlePosition 'B' and 'C'.
I ran the report generator anyway but saw no change. I was using Stylesheet Default_2.

Posted Sunday, February 17, 2013 - Post #31293
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Customers
GenoPro version: 2.0.1.4

Last Login: Thursday, June 30, 2016
Posts: 141, Visits: 294
Found the TitlePosition, had it set to T. Now changed to B and now shows the icons and title on top line of heading. The only thing is the heading is still 2 lines high.

EDIT: Found the problem I edited the wrong '80' to '45'. Now heading 1 line with the icons and title.
Thank you.

EDIT: Yes, please include the
TitlePosition 'C' option in future releases.


Edited: Monday, February 18, 2013 by Frank1


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse