Title: Max-Width Not working
Last modified: July 2, 2021

---

# Max-Width Not working

 *  Resolved [aochikab](https://wordpress.org/support/users/aochikab/)
 * (@aochikab)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/max-width-not-working/)
 * Hi, I have 3 projects in my portfolio gallery, and I’m trying to get these 3 
   projects to take up the full width rather than awkwardly aligning to the left.
   I’d also like the portfolio boxes to be bigger, similar to how it is here >> 
   [https://www.modulargroup.co.ke/](https://www.modulargroup.co.ke/)
 * I’ve looked at the css for the plugin and it looks fine there so I’m not sure
   what the problem is
 *     ```
       .portfolio-gallery-content img, .portfolio-gallery-content a{
           box-shadow: none !important;
       }
   
       section[id^="pfhub_portfolio_content_"],
       section.pfhub_portfolio_elastic_grid_content {
           display: inline-block !important;
           width:100% !important;
           max-width: none !important;
       }
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmax-width-not-working%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [aochikab](https://wordpress.org/support/users/aochikab/)
 * (@aochikab)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/max-width-not-working/#post-14619861)
 * Now four projects. I’m still trying to get it to take up the full width rather
   than the weird left alignment. NOthing i do with css seem to work
 *  Plugin Author [portfoliohub](https://wordpress.org/support/users/portfoliohub/)
 * (@portfoliohub)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/max-width-not-working/#post-14652768)
 * Hi [@aochikab](https://wordpress.org/support/users/aochikab/),
 * You can change element width and height from the “Settings” page of the plugin’s
   admin dashboard.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Max-Width Not working’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/uber-grid_7b89c1.svg)
 * [WordPress Portfolio Builder - Portfolio Gallery](https://wordpress.org/plugins/uber-grid/)
 * [Support Threads](https://wordpress.org/support/plugin/uber-grid/)
 * [Active Topics](https://wordpress.org/support/plugin/uber-grid/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/uber-grid/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/uber-grid/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [portfoliohub](https://wordpress.org/support/users/portfoliohub/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/max-width-not-working/#post-14652768)
 * Status: resolved