how to: only show custom style / user should not select default style ?

erich37

Well-known member
I have created a new custom style.

But currently it is possible for the user the choose both the default or my custom style, although I have disabled "Allow user selction" for my custom style.

So what to do in order to have my custom style available only ?
The user should not be able to select any style, I just want to have my custom style showing for the website.

Do I need to delete the default style ?

Many thanks,
 

Brogan

XenForo moderator
Staff member
Just set your custom style as the default in the ACP.

acp_default_style.PNG

Then set the other style to not selectable by users.

acp_style_not_selectable.PNG

Don't forget as Admin you will have access to all styles, even if not selectable.
 

erich37

Well-known member
I actually just created a new style and changed a specific color.

But I guess I have been logged in as Admin, so I could switch styles, although I have set my custom style as default. So that might have been the issue.

I will try again to see if I can manage this.

Anyway many thanks for your help, Brogan ! You are the best moderator over here !
 

Brogan

XenForo moderator
Staff member
Just log out and browse your site as a guest.
You'll see then which style is the default and which are available to choose.
 

steven s

Well-known member
Just log out and browse your site as a guest.
You'll see then which style is the default and which are available to choose.
Although I believe this is a bug.
I have default unchecked and my style checked. A guest will see the style chooser and when they click on it have this option

screen.png

but if they click on either style, it is always the custom style.
I would think if there is only one available, the chooser should not be visible or at least not list Use default style.
Am I explaining this correctly?
 

erich37

Well-known member
steven,

do you see your BavForums in the style-chooser when being logged out ?
I need to check this tomorrow again, whether this also shows to guests or Admin only...... if it shows to guests even when default-style us unchecked, then it is a bug......
 

Brogan

XenForo moderator
Staff member
There's only one style there.
The bavForums style is the default style.

Although I see your point with regards to there only being one style available.
 

erich37

Well-known member
I guess it is still showing as "style chooser" within the footer......should not be when there is only 1 style available.
 

steven s

Well-known member
steven,

do you see your BavForums in the style-chooser when being logged out ?
I need to check this tomorrow again, whether this also shows to guests or Admin only...... if it shows to guests even when default-style us unchecked, then it is a bug......
The image above is when clicking on style chooser as a guest.
 

erich37

Well-known member
how do I change the background-color from grey to something else ?
I have changed the background-color at the "Default Style", but it does not take the color I have selected.

Do I need to create a new style in order to just change the background-color ?
 

Brogan

XenForo moderator
Staff member
Do you mean the main background, either side of the forum?

That's in Style Properties -> General -> HTML -> Background Color
 

erich37

Well-known member
Hi Brogan,

I mean the gry-colored page-background #F0F0F0
I have tried to change this color at "Style Properties / Color Palette", but does not work.....
 

erich37

Well-known member
I have upgraded from XF Beta2 to XF Beta5 now and my custom background-color stayed the same, meaning it did not change on the software-upgrade which is fine.
But now I wanted to change the background-color to some other color and only some portion of my background-color changed.
 

Brogan

XenForo moderator
Staff member
Any changes made in the ACP to the colour palette will affect all CSS elements which utilise that colour.
If you've made edits to the template and/or CSS then this may not be the case.

If you want to change the page background colour, go to Style Properties -> General -> HTML: Background Color

Some templates may need reverting due to a small bug - see the full list here: http://xenforo.com/community/threads/xenforo-1-0-0-beta-4-released.8732/#post-120570

You will need to reapply any edits you have made to those templates after reverting them.
 

erich37

Well-known member
it is working fine actually, it was a mistake I have made by myself......
thanks for your help!
 
Top