Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: CSS parameters not applying as expected

CSS parameters not applying as expected 05 Jun 2021 23:19 #60961

www.ckdev.info/moj/

In the footer area (module position "copyright") I have applied no specific parameters in the template. Instead, I set text to #ffffff, with links to #f3ab1b, and hover to #ffffff. The copyright text is in a code block. However, the block is taking the body CSS and refuses to use the CSS assigned to the code block.

Also, the buttons are behaving strangely. On the same page, the button in the footer (next to the copyright) is working correctly. However, the one in the content area is getting some unexpected CSS - seems to be from bootstrap.
Odd. I changed just the color of the text and border, and now buttons are working properly.

Am I doing something incorrectly? Never seen this sort of thing before.
A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!

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

Last edit: by trogladyte.

CSS parameters not applying as expected 06 Jun 2021 07:05 #60963

  • ced1870
  • ced1870's Avatar
  • Away
  • Administrateur
  • Administrateur
  • Posts: 25394
  • Karma: 427
  • Thank you received: 3205
Hi
I don't really understand as you say that it works now
but this could be due to a cache, if you have it enabled ?
CEd
Joomlack Webmaster and Developer

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

CSS parameters not applying as expected 06 Jun 2021 21:15 #60969

The text in the footer is still displaying in the body color, whereas I have set it, in the code block as white. Similarly, the links show blue (like the footer area background) and yellow on hover. They should be yellow then white.
A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!

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

CSS parameters not applying as expected 07 Jun 2021 06:08 #60972

  • ced1870
  • ced1870's Avatar
  • Away
  • Administrateur
  • Administrateur
  • Posts: 25394
  • Karma: 427
  • Thank you received: 3205
ok
in the code I don't see the #fff text color on #block-copyright
can you please send me a screenshot of the setting in Template Creator CK ?
Joomlack Webmaster and Developer

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

CSS parameters not applying as expected 07 Jun 2021 14:25 #60978

It should work with the following settings:

Attachments:

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

CSS parameters not applying as expected 07 Jun 2021 19:53 #60981

Hi Chrysant, you're correct. It should, but it doesn't for some reason.
A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!

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

CSS parameters not applying as expected 08 Jun 2021 06:09 #60984

  • ced1870
  • ced1870's Avatar
  • Away
  • Administrateur
  • Administrateur
  • Posts: 25394
  • Karma: 427
  • Thank you received: 3205
after checking, I think that the problem is simply located in the "code" addon that you used to put your text and which does not work correctly with the styles
I will check that by my side

PS: why a "code" addon, and not a "text" ?
Joomlack Webmaster and Developer

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

CSS parameters not applying as expected 08 Jun 2021 12:08 #60993

ced1870 wrote: PS: why a "code" addon, and not a "text" ?


I have a <script>...</script> to show th current year, It does not work in a text block for some reason (see post forum.joomlack.fr/index.php/page-builder...orking-in-pb-modules )
A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!

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

CSS parameters not applying as expected 08 Jun 2021 12:57 #60994

  • ced1870
  • ced1870's Avatar
  • Away
  • Administrateur
  • Administrateur
  • Posts: 25394
  • Karma: 427
  • Thank you received: 3205
ok :) thanks for the info
Joomlack Webmaster and Developer

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

CSS parameters not applying as expected 08 Jun 2021 17:20 #60999

NP Ced. Anything I can do to help support you! Really appreciate the support you give!
A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!

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

  • Page:
  • 1
  • 2
Time to create page: 0.273 seconds

Fast and powerful creation, customizable and responsive.

Read More

Qui est en ligne

We have 652 guests and 3 members online