- Posts: 103
Question [SOLVED] issue with css
- samark
- Topic Author
- Offline
- Junior Member
Thanks
I tried multiple times to add attachments but as with other posts I always get an error that size exceeds limit even though they were smaller than 150kb and smaller than 800 by 800 px
Samar
Please Log in or Create an account to join the conversation.
- fisharebest
- Away
- Administrator
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- samark
- Topic Author
- Offline
- Junior Member
- Posts: 103
Samar
Please Log in or Create an account to join the conversation.
- makitso
- Offline
- Administrator
Rob
www.skatekey.net ( webtrees 2.1 beta GitHub)
webtrees forum admin
PHP 8.1.21
Hosted at tigertech.net
Please Log in or Create an account to join the conversation.
- samark
- Topic Author
- Offline
- Junior Member
- Posts: 103
All I did was copy themes/_custom/theme.php to my new folder and edited the code to put in my theme which extends webtrees theme
and then added my own css file there and customized.
Did I do something wrong?
Samar
Please Log in or Create an account to join the conversation.
- fisharebest
- Away
- Administrator
This does not exist.
This causes a javascript error.
This causes your page to fail.
Look at the javascript error log in your browser. (or use firebug plugin for firefox)
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- samark
- Topic Author
- Offline
- Junior Member
- Posts: 103
and why is it missing?
Samar
Please Log in or Create an account to join the conversation.
- samark
- Topic Author
- Offline
- Junior Member
- Posts: 103
active: location.hash ? null : jQuery.cookie ("indi-tab"),
Samar
Please Log in or Create an account to join the conversation.
- makitso
- Offline
- Administrator
"NetworkError: 404 Not Found - kadhifamily.com/webtrees/packages/jquery...4.1/jquery.cookie.js "
Rob
www.skatekey.net ( webtrees 2.1 beta GitHub)
webtrees forum admin
PHP 8.1.21
Hosted at tigertech.net
Please Log in or Create an account to join the conversation.
- samark
- Topic Author
- Offline
- Junior Member
- Posts: 103
what should I do?
Samar
Please Log in or Create an account to join the conversation.
- fisharebest
- Away
- Administrator
New versions of webtrees use browser local storage - and do not need this library.
You are using webtrees 1.7.2. Upgrade to the latest version?
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- makitso
- Offline
- Administrator
However, to my earlier point, it looks like you have no styling for the tabs.
<div id="tabs">
<ul>
<li class="">
<a title="A tab showing the facts and events of an individual." href="individual.php?pid=I167&ged=kadhionly&action=ajax&module=personal_facts">Facts and events</a>
</li>
<li class="">
<li class="">
<li class="">
<li class="">
</ul>
</div>
Rob
www.skatekey.net ( webtrees 2.1 beta GitHub)
webtrees forum admin
PHP 8.1.21
Hosted at tigertech.net
Please Log in or Create an account to join the conversation.
- samark
- Topic Author
- Offline
- Junior Member
- Posts: 103
Samar
Please Log in or Create an account to join the conversation.
- samark
- Topic Author
- Offline
- Junior Member
- Posts: 103
Samar
Please Log in or Create an account to join the conversation.
- fisharebest
- Away
- Administrator
There is a javascript error that is preventing the tabs from being initialised.
You must fix the javascript error.
I guess that upgrading webtrees will do this.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- samark
- Topic Author
- Offline
- Junior Member
- Posts: 103
Samar
Please Log in or Create an account to join the conversation.
- bertkoor
- Offline
- Platinum Member
- Greetings from Utrecht, Holland
Anyway I agree: just upgrade to the latest version. Sorry you lost the customisations, but that can be reconstructed with some effort.
stamboom.BertKoor.nl runs on webtrees v1.7.13
Please Log in or Create an account to join the conversation.
- samark
- Topic Author
- Offline
- Junior Member
- Posts: 103
My guess is your custom theme was not 'custom' enough but just a modified existing one (wothout giving it a proper name)
How do I give it a proper name and make it custom enough? Please can you be a little more specific so I do not repeat the same problem again
Thanks
Samar
Please Log in or Create an account to join the conversation.
- makitso
- Offline
- Administrator
> I tried upgrading, my custom theme got overwritten. How do i prevent this?
When you upgraded did you completely replace the themes folder? If so this would have deleted any changes made to the webtrees theme and the kadhi_custom theme folder.
<link href="themes/webtrees/jquery-ui-1.11.2/jquery-ui.css" type="text/css" rel="stylesheet">
<link href="themes/webtrees/css-1.7.0/style.css" type="text/css" rel="stylesheet">
<link href=" kadhifamily.com/webtrees/themes/kadhi_custom/kadhi-v1.0.css " type="text/css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="modules_v3/tree/css/treeview.css">
Rob
www.skatekey.net ( webtrees 2.1 beta GitHub)
webtrees forum admin
PHP 8.1.21
Hosted at tigertech.net
Please Log in or Create an account to join the conversation.
- samark
- Topic Author
- Offline
- Junior Member
- Posts: 103
I didn't do anything to the file system. Just ran the upgrade and got surprised by the result! then rolled back
Samar
Please Log in or Create an account to join the conversation.