Jump to content

CSS for the forums app only


-FP

Recommended Posts

Posted

Right now I'm using this to set a different width for the forum app only:

body[data-pageapp=forums][data-pagelocation=front][data-pagemodule=forums][data-pagecontroller=index] .ipsLayout_container

The issue is that when I enter a forum or a topic, the pagecontroller changes changes to forum and topic respectively. Same when viewing an user profile, it changes to profile.

So... is there a way to specify the CSS for the whole forums app?

Posted

Thanks, I found what I needed. I only wanted to modify the width of the forums app on desktop view only. This worked:

@media screen and (min-width: 980px) { 
  body[data-pageapp=forums] .ipsLayout_container 
  {
  	min-width: 1120px;
  	max-width: 1340px;
  }
}

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...