Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Major problem with popup windows
Avatar
Stefano Prete
Melbourne, Australia
Member
Free Members
sp_UserOfflineSmall Offline
Apr 25, 2014 - 7:00 am

Just wispering...

Hey Andy, it seems that everything is working fine now...

I hope it will stay like that. laugh

Avatar
Stefano Prete
Melbourne, Australia
Member
Free Members
sp_UserOfflineSmall Offline
Apr 25, 2014 - 7:24 am

Nope...

It's working with Firefox, it's a mess in Opera, Chrome and Safari!

Avatar
Stefano Prete
Melbourne, Australia
Member
Free Members
sp_UserOfflineSmall Offline
Apr 25, 2014 - 7:33 am

I have the feeling that the problem is in my file sp-plugin-styles-all.css which is quite old.

Where can I find the newest one to overwrite it?

I am not able to find it...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 25, 2014 - 11:43 am

you do NOT want to edit that file... Its automatically generated as a cache of the forum css...

to clear the css cache, go to forum - toolbox - housekeeping and you can clear it...

Avatar
Stefano Prete
Melbourne, Australia
Member
Free Members
sp_UserOfflineSmall Offline
Apr 25, 2014 - 5:29 pm

Steve, I don't understand how it works...

If I want to edit some CSS, which file am I supposed to touch?

At the moment, everything seems OK with Firefox but it's not working at all with the other browsers.

I need to fix it frown

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 25, 2014 - 6:48 pm

you need to edit your theme css file...  I dont know which theme you are using...  for example, if using default theme, you would want to edit wp-content/sp-resources/forum-themes/default/styles/default.php

or you can use the sp theme editor on forum - themes - edit theme... and select the main theme css file...

after you edit your theme, go to forum - toolbox - housekeeping and clear the combined css cache so it rebuilds with your changes...

as always, we strongly recommend you have your own theme and not edit one of ours so you dont lose changes on updates...

Avatar
Stefano Prete
Melbourne, Australia
Member
Free Members
sp_UserOfflineSmall Offline
Apr 26, 2014 - 2:55 am

That's what I don't understand, Steve...

In wp-content/sp-resources/forum-themes/default/styles/default.php I find things like background: <?php echo($itemListBackGroundHover); ?>;

Now, how do I change that? It's just an example.

Using Firebug, I see for example a code spGroupViewSection. The colour is whatever, I want it red. So I edit the file sp-plugin-styles-all.css and that colour turns red. Easy.

If I edit wp-content/sp-resources/forum-themes/default/styles/default.php, what I see for spGroupViewSection is:

color: <?php echo($itemHeaderColor); ?>;
background: <?php echo($itemHeaderBackGround); ?>;

How do I edit that? It's driving me nuts...

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 26, 2014 - 4:00 am

In the case of the 'default' theme then all of the colours etc., are held in the relevant 'overlay' file that you are using. So whatever that is - you would have selected it in the forum admin > theme panel - and you will find it in the /styles/overlays folder of the SP theme.

Depending on what it is you are doing then there might even be an overlay closer to what you are looking for if you run them all.

At the moment don't forget that as always we recommend that you create your own SP theme so that any customisation is not lost during a future update. (http://codex.simple-press.com/.....g-a-theme/)

But that will become easier in our target 5.5 release when we will hopefully be introducing 'child themes'.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Stefano Prete
Melbourne, Australia
Member
Free Members
sp_UserOfflineSmall Offline
Apr 26, 2014 - 6:10 am

I think now I understand a bit more...

I will have to set up my own theme.

Thank you so much for your help, I will probably ask you some more questions but I will try and do as much as I can.

Thank you! wink

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 26, 2014 - 6:25 am

That's OK. If you get stuck - ask.

The good news is that all being well we hope to introduce 'child' themes in version 5.5 which will help remove the need for making on-going changes to custom themes. So our fingers are crossed that we can do that.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625