Not able tochange css of dialogboxes :-(

  • Posts: 192
  • Thank you received: 1
12 years 11 months ago #37208

Hi,

i'm having a trouble now with dialogboxes.
for example i'm trying to change css of address dialog box without any success.

is there something special i have to know to do it ?
standard CSS doesn't work :-(
thx


What does not kill you, makes you stronger.
Last edit: 12 years 11 months ago by alain.roger.

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

  • Posts: 192
  • Thank you received: 1
12 years 11 months ago #37216

In fact, I have the feeling that with popup window, my template default.css file is not loaded in iframe.
because when i add a css parameter/attribute online in FF or Chrome, the change is done correctly.
and in the head tag i see nowhere that my CSS file is loaded :-(

Is there any place or possiblity in the hikashop component to add it without risking to have it deleted with next version of hikashop installation ?
thx.


What does not kill you, makes you stronger.

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

  • Posts: 192
  • Thank you received: 1
12 years 11 months ago #37222

for example i placed in my template css file the following CSS code:

div#sbox-content
{
	border:1px solid #dddddd;
	border-radius:4px;
	-moz-border-radius:4px;
	background-color:#f9f9f9;
}
#hikashop_address_form_header_iframe
{
	margin: 30px 0px 10px 0px;
	line-height: 36px;
	font-weight: normal;
	font-size: 36px;
	text-shadow: 2px 2px 2px #6374AB;
}
#hikashop_address_form_span_iframe form td.key{
  width:150px;
}

nothing's changed in the address popup windows.

so i decided to write this in the front-end css file from your component > Settings > Display > CSS
and value turned to "custom".

once again no changes on the front end of my website.

i tried the same step under beez20 template with the same result.

could you tell me what did i do wrong ?
thx


What does not kill you, makes you stronger.

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

  • Posts: 83103
  • Thank you received: 13415
  • MODERATOR
12 years 11 months ago #37339

It is indeed possible that your template does not load any CSS in popups. It depends on how the component.php file of the template is done. You might want to ask your template provider about that.

However, the beez templates should work properly.
Could you give a link to your shop so that we can see that ?

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

  • Posts: 192
  • Thank you received: 1
12 years 11 months ago #37349

Hi Nicolas,

Sorry but i can't give you a link to my server as it is on my local computer.
I personally made the joomla template, but i have the same issue with the default joomla template called beez20 :-( with just Joomla 2.5 and your component.

basically i don't have any component.php in my template "index.php" as it is not a must (i checked again documentation).

so i copied the one from beez_20 and modified it to fit my needs in terms of css link.
Anyway it doesn't work....

e.g. i'm trying to allow background-color to td.key and it doesn't work...or i'm trying to set width:200px; to td.key without any success.

thx.


What does not kill you, makes you stronger.
Last edit: 12 years 11 months ago by alain.roger.

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

  • Posts: 83103
  • Thank you received: 13415
  • MODERATOR
12 years 11 months ago #37515

If you changed the CSS but that you don't see any changes, make sure that you cleaned your browser's cache. Otherwise, it won't reload the CSS file and you won't see the change.

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

Time to create page: 0.044 seconds
Powered by Kunena Forum