Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
themes-topic
how to change background color in unified theme ?
Avatar
carlo-p
Member
Free Members
sp_UserOfflineSmall Offline
Nov 4, 2014 - 2:51 am

Hello,

 

When using the default theme, the forum has a white background color but when using the unified , the background color is the one from my theme and not forced to white like the default, since I have a dark theme with black background I cannot see everything, so my question is how to have the same white background in the unified theme than on the "default one" ?

Thank you

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Nov 4, 2014 - 5:23 am

Hey Carlo,

You can change the background of the Unified theme by adding a background style to the spMainContainer div.

Firstly, we advise that you make a custom or child theme if making changes to any of the default templates, custom themes will enable you to retain your changes upon updating, and child themes will not only retain changes but also the parent theme will receive updates that would have to be manually added to custom themes.

Anyway - You would need to navigate to your themes folder - sp-resources > forum-themes > unified > styles > unified.php

And add something like:

#spMainContainer {
    background: red;
    padding: 5px;
}

You would probably want to add padding, but play around with it and see what works best for your setup.

Hope this helps!

Avatar
carlo-p
Member
Free Members
sp_UserOfflineSmall Offline
Nov 4, 2014 - 10:30 pm

thank you for the information, we will try and report here ^^

 

Kind Regards,

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 5, 2014 - 12:23 am

please do...  we will be here...

Avatar
carlo-p
Member
Free Members
sp_UserOfflineSmall Offline
Nov 5, 2014 - 1:07 am

So We added the following 

#spMainContainer {
background: #ccddcc;
padding: 5px;
border-radius: 10px;
}

 

and it does look pretty nice but we have a couple of problem using unified theme on mobile :

1) Is that theme supposed to be used also on mobile ? All the button look pretty small and I was wondering if there is another special theme for mobile devices ?

2) In portrait mode, on mobile, all the icons (the little key for register etc...) switch to a flat black background color while being displayed properly with transparent background when in landscape mode , any reason for this to happen ?

3) In portrait mode, we cannot login, when we press the login button, the windows animation going down does not play so it does not reveal the login form, it does work well thought in landscape mode.

Kind Regards,

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 5, 2014 - 3:02 am

Same question as the 'menu' thread. A link for your forum page would be useful so we can see things.

andy-signature.png
YELLOW
SWORDFISH
Avatar
carlo-p
Member
Free Members
sp_UserOfflineSmall Offline
Nov 6, 2014 - 4:08 am

hello,

 

Sure , you can check the website here : http://www.hyperdevbox.com 

However we switched to the normal theme so let me know if you need we switch temporary back to the unified for your check.

 

Kind Regards

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Nov 6, 2014 - 4:48 am

Hey Carlo,

Yes - if you could please switch back to unified theme, but also just to clarify, please do this through the mobile phone theme selector which can be found in:

WP Admin > Forum > Themes > Mobile Phone Themes.

Avatar
carlo-p
Member
Free Members
sp_UserOfflineSmall Offline
Nov 6, 2014 - 11:34 pm

Hello,

 

Theme is changed for mobile and tablets but curiously (and fortunately).... it seems to work now , I mean it does display on "mobile" mode as it should , the only visual issue we are having now is the "search bar" being displayed below our logo so... if ever you have a hint how display it somewhere else like the bottom or on the top of everything that would be awesome.

 

Kind Regards,

Avatar
carlo-p
Member
Free Members
sp_UserOfflineSmall Offline
Nov 6, 2014 - 11:44 pm

However I want to add that tested on Tablet, the unified theme is using a different layout than the one displayed on phone, the tablet is indeed switching to tablet theme but seems to match desktop layout for unified, is that because our tablet is 1920x1080 ? So only now in tablet mode we cannot log-in.

Kind Regards,

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: 617
Members: 17359
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10125
Posts: 79620