Before asking for help please read "Requesting Help and Suggestions" by clicking on that tab above here.
  • Page:
  • 1

TOPIC:

CSS et JS 1 month 4 weeks ago #1

  • phicome
  • phicome's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 66
Impossible de copier le style CSS local pour l'utiliser en ligne. La copie est exécutée, mais l'enregistrement ne se fait pas et le style revient au précédent. Une solution ?
Merci

Can not copy the local CSS style to use it online. The copy is executed, but the recording is not done and the style returns to the previous one. A solution ?
Thank you
webtrees 2.0.19
php 7.4

Please Log in or Create an account to join the conversation.

CSS et JS 1 month 4 weeks ago #2

  • hermann
  • hermann's Avatar
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 432
I do not understand that. Please help me to understand your question.

What does it mean: "copy local CSS style"? What is "local" and how does your CSS style look like?

"Copy is executed". Does that mean that you have done a copy and paste to the webtrees "CSS and JS" module in the upper box and it looks like
<style>
.wt-tabs-individual .gallery img {max-width: 100px}
</style>
Hermann
Designer of the custom module "Extended Family"

webtrees 2.0.19 (all custom modules installed, php 7.4.15, MySQL 5.6) @ ahnen.hartenthaler.eu

Please Log in or Create an account to join the conversation.

Last edit: by hermann.

CSS et JS 1 month 4 weeks ago #3

  • phicome
  • phicome's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 66
Je teste les modifications que je désire effectuer sur une installation webtrees sur mon PC (local).
Les modifications me convenant, je mets à jour mon site web.
Quoi que je fasse, copie ou saisie, je ne peux pas modifier la partie style CSS de mon site. L'enregistrement des modifications ne fonctionne pas.

I test the changes I want to perform on a webtrees installation on my PC (local).
Changes suitable for me, I update my website.
Whatever I do, copy or seizure, I can not change the CSS style part of my site. The registration of the changes does not work.
webtrees 2.0.19
php 7.4

Please Log in or Create an account to join the conversation.

CSS et JS 1 month 4 weeks ago #4

  • JustCarmen
  • JustCarmen's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • Posts: 1036
Your question is still not clear to us.

Can you tell us exactly what you have done?

If you did use the module CSS and JS from the control panel of webtrees
- did you fill in the first text block?
- if yes: did you put your custom styles between the <style></style> tags
- if you can answer the above questions with yes, please post your changes here so we can have a look. Don't forget to tell us which theme you are trying to modify.

If you did not use the module CSS and JS
- where have you put your changes (in which file)?

Carmen
Designer of the JustLight theme (comes with a light and dark color palette), Fancy Imagebar and Fancy Research Links for webtrees 2


Check my website at www.justcarmen.nl

Please Log in or Create an account to join the conversation.

CSS et JS 1 month 4 weeks ago #5

  • phicome
  • phicome's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 66
Désolé de ne pas avoir été clair Sorry for not having been clear

Local (sur mon PC) : Local (on my PC):

<style>
body, .dropdown-menu, .wt-initials-list {font-size: 14px;}
.wt-header-search-form, .menu-language, .wt-site-title,
.wt-album-tab-caption, .wt-timestamp,
.fact_NOTE > span.label {display: none;}
.wt-user-menu {opacity: 0;}
.wt-user-menu:hover {opacity: 1;}
.align-items-center {float: left;}
</style>

Sur mon site en ligne : On my website online:

<style>
body, .dropdown-menu, .wt-initials-list { font-size: 14px; }
.container { max-width: 100% }
</style>

Il m'est impossible de copier le style CSS de mon PC sur le style CSS de mon site. L'enregistrement ne se fait pas. Je ne peux donc pas modifier le style de mon site.
Utilisation du theme Rural dans les 2 cas

It is impossible for me to copy the style CSS of my PC on the style CSS of my site. Recording is not done. I can not change the style of my site.
Using the rural theme in both cases
webtrees 2.0.19
php 7.4

Please Log in or Create an account to join the conversation.

CSS et JS 1 month 4 weeks ago #6

  • JustCarmen
  • JustCarmen's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • Posts: 1036
Aha, now we get somewhere.

So, you cannot copy the working style from your local system to your online environment. You are not able to save the changes. That is very strange.

I cannot reproduce this. If I add a style and change it later than it is possible to save it.
Could it be an issue in combination with the Rural theme? What happens if you switch to the default webtrees theme?

Carmen
Designer of the JustLight theme (comes with a light and dark color palette), Fancy Imagebar and Fancy Research Links for webtrees 2


Check my website at www.justcarmen.nl

Please Log in or Create an account to join the conversation.

CSS et JS 1 month 3 weeks ago #7

  • phicome
  • phicome's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 66
Avec le thème webtrees c'est la même chose. Où sont enregistrés ces paramètres ?

With the Webtree theme is the same thing. Where are these parameters recorded?
webtrees 2.0.19
php 7.4

Please Log in or Create an account to join the conversation.

CSS et JS 1 month 3 weeks ago #8

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 15173
> L'enregistrement ne se fait pas.

Why do you think this?

If I look at your site, I see that the CSS is added.

From the HTML of your home page:
<style>
body, .dropdown-menu, .wt-initials-list { font-size: 14px; }
.container { max-width: 100% }
</style>
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Do you need a web hosting solution for your webtrees site?
If you prefer a host that specialises in webtrees, the following page lists some suppliers able to provide one for you: 

CSS et JS 1 month 3 weeks ago #9

Correct me if I am wrong but you are using the selector .container and your web site is using .container-lg.
Perhaps you have different versions of webtrees on your local and on-line systems?

<style>
body, .dropdown-menu, .wt-initials-list { font-size: 14px; }
.container { max-width: 100% }
</style>
Rob
www.skatekey.net ( webtrees beta GitHub)
PHP 8.0.13, Apache 2.4.43,
Hosted at tigertech.net

Please Log in or Create an account to join the conversation.

Last edit: by makitso.

CSS et JS 1 month 3 weeks ago #10

  • phicome
  • phicome's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 66
@fisharebest
C'est justement cela que je veux modifier. Je saisis mes nouveaux paramètres, mais impossible de les enregistrer.

That's exactly what I want to modify. I seize my new settings, but impossible to save them.

@makitso
Je n'ai qu'une installation.
Je veux justement supprimer cette ligne ".container", entre autre.

I have only one installation.
I want to delete this line ".Container", among other things.
webtrees 2.0.19
php 7.4

Please Log in or Create an account to join the conversation.

CSS et JS 1 month 3 weeks ago #11

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 15173
> That's exactly what I want to modify. I seize my new settings, but impossible to save them.

You do not explain what you mean by "impossible to save".

After saving, you are returned to the edit screen.

(This is because people may need many attempts to find the correct CSS.)
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

CSS et JS 1 month 3 weeks ago #12

  • phicome
  • phicome's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 66
Le bouton bleu "enregistrer" agit comme un bouton annuler. Les modifications disparaissent.

webtrees 2.0.19
php 7.4
Attachments:

Please Log in or Create an account to join the conversation.

CSS et JS 1 month 3 weeks ago #13

  • JustCarmen
  • JustCarmen's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • Posts: 1036
I still think this is very strange and I cannot reproduce it. The save (enregistrer) button should work.

Do you see any error message in your website or server logs?

Have you tried to empty both boxes and save that? If that works you could try to set the correct code for both text boxes one by one. But if that doesn't work I am afraid I don't know what you should do to solve this.

Carmen
Designer of the JustLight theme (comes with a light and dark color palette), Fancy Imagebar and Fancy Research Links for webtrees 2


Check my website at www.justcarmen.nl

Please Log in or Create an account to join the conversation.

CSS et JS 1 month 3 weeks ago #14

  • phicome
  • phicome's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 66
J'ai effacé la partie CSS "style" puis enregistré. Je n'ai plus rien, mais je ne peux plus rien saisir. La zone reste vide.
Je vais installer 2.0.18 demain pour voir si cela change quelque chose.

I deleted the CSS "style" part and then recorded. I have nothing, but I can not seize anything. The area remains empty.
I will install 2.0.18 tomorrow to see if it changes something.
webtrees 2.0.19
php 7.4

Please Log in or Create an account to join the conversation.

Last edit: by phicome.

CSS et JS 1 month 3 weeks ago #15

  • phicome
  • phicome's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 66
J'ai installé 2.0.19 sur mon site ce matin. Même problème. J'ai copié mon style CSS dans la table wt_module_setting. Site indisponible (voir erreur en se connectant).

I installed 2.0.19 on my site this morning. Same problem. I copied my CSS style in the table wt_module_setting. Unavailable site (see error by connecting).
webtrees 2.0.19
php 7.4

Please Log in or Create an account to join the conversation.

CSS et JS 1 month 3 weeks ago #16

  • phicome
  • phicome's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 66
Après résolution du problème lié à mon mot de passe, J'ai à nouveau copié mes paramètres CSS directement dans la table wt_module_setting et cela fonctionne. En revanche, le bouton "enregistrer" du panneau de configuration ne fonctionne toujours pas.
Problème résolu par contournement.

After resolving the problem related to my password, I again copied my CSS settings directly into the wt_module_setting table and it works. On the other hand, the "Save" button on the Control Panel still does not work.
Problem resolved by bypass.
webtrees 2.0.19
php 7.4

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum