Support Forum

Home Forums OceanPlaza WP How to add image row in mainpage???

All Wordpress Themes

This topic contains 4 replies, has 3 voices, and was last updated by  Support Team 6 2 years, 8 months ago.

  • Author
  • #27801


    How to add image row to the main page(homepage)

    Here are the screen shots



  • #27803

    Support Team 6

    It is not provided in the theme. You can try this solution:
    – Open file custom.js in folder wp-content\themes\oceanplaza\js and replace code:

    itemSelector: '.portfolio',
            masonry: {
                columnWidth: $container.width() / 12

    with this one:

    itemSelector: '.portfolio',
            masonry: {
                columnWidth: $container.width() / 15

    – add css code into style.css:

    @media screen and (min-width:768px){
    .portfolio_main #port-container {
        margin-left: 10%;}
  • #27890


    Hi The suggested changes and the changes did not work. I need to insert 3 images per row i need only two rows (as shown in screenshots). so please send the exact file location.

  • #27899

    Support Team 1

    Hello, nagamanil! There is simple way to do it without editing of files.
    In order to change number of rows you should go to menu Appearance -> Theme Options -> tab Portfolio -> Number of posts
    And select 6 posts.

The forum ‘OceanPlaza WP’ is closed to new topics and replies.