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
Width forum - css default theme
Avatar
roberto splendorini
Member
Free Members
sp_UserOfflineSmall Offline
Dec 14, 2014 - 6:42 am

Hi, and tanx for beatiful Forum plugin,
I'd like increase width forum ( about 700 px or 80%) in the center page of my site. I have css default theme, where I can modify in css file?
Thank you and sorry for my bad english.
Robbys

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Dec 14, 2014 - 6:50 am

Hey Roberto,

Are you talking about the overall width of the forum? If so, this is controlled by the WordPress theme itself not the forum theme, as the forum sits in a WP Page. Changing the width should be pretty straight forward through the WP theme style.css, but of course this is different in some themes!

Avatar
roberto splendorini
Member
Free Members
sp_UserOfflineSmall Offline
Dec 14, 2014 - 6:57 am

Thanks...Yes I talking width forum.......now I see in my Css file Twenty thirteen theme,  But it will also change the layout of my normal pages? you know the precise point of css file? thank you

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Dec 14, 2014 - 7:33 am

It looks like you would have to change:

.entry-header, 
.entry-content, 
.entry-summary, 
.entry-meta {
    margin: 0px auto;
    max-width: 604px;
    width: 100%;
}

As you can see it currently has max-width: 604px which is limiting it. You can change that to whatever value you like of course, it will change every page.

I think you can create a custom class for a page and items using body_class so you can have a different width for the forum without affecting other pages, but I've never used it so I have given you the link to the Codex entry to read at your leisure.

I think there are also a couple of WP plugins that will allow you to easily add a custom class to a page (probably intended for multisite installs using the same theme throughout)

Avatar
roberto splendorini
Member
Free Members
sp_UserOfflineSmall Offline
Dec 14, 2014 - 8:32 am

Very very thank I solved smile

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Dec 14, 2014 - 8:51 am

No problem, glad to help :)

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: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626