• I’m trying to make a change to Layout 1 in the frontpage posts. I’d like to display four across one row instead of three.

    I decreased the size of each container (lay1) to 25% and decreased the total width to 300%, but i can’t seem to get the posts to stay in one line. No matter what size I make the posts, the fourth one always moves down to the next line.

    The site is https://dpmconsultinginc.com

    Any ideas?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author OptimizerWP

    (@layerthemes)

    Topher,

    This could be tricky. You can achieve this by editing some files, but be aware that when you edit the files, future updates will remove your edits and you will have to do this all over again.

    Open up custom-javascript.php and optimizer.js file from the “js” folder and replace this:

    i+3 with this: i+4

    and this:

    i+=3 with this: i+=4

    Regards

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    @layerthemes, Are you enqueing this JS file? If so, then you know what I’m going to say ??

    Theme Author OptimizerWP

    (@layerthemes)

    @Abdrew yes. we enqueued the js files using wp_enqueue_script. Did you want to advise Topher to use child theme to unregister the theme’s js and register his own? ??

    Regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change to Layout 1’ is closed to new replies.