• Resolved groug

    (@groug)


    Hello,
    I want to make a square on my homepage with 4 square alignement and not 3

    I search but i don’t found who i can made that
    If someone can help me

    Cheers

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi there,

    You can achieve what you’re after with some custom CSS.

    In order to add custom CSS to Cubic, firstly activate a custom CSS plugin. If you have Jetpack installed then you can activate Jetpack’s custom CSS module.

    Enter the following snippet in your CSS plugin’s editor:

    @media screen and (min-width: 1024px) {
    	.archive .hentry, .blog .hentry, .search-results .hentry {
    		padding-bottom: 15%;
    		width: 25%;
    	}
    
    	.archive .hentry:nth-of-type(3n+4), .blog .hentry:nth-of-type(3n+4), .search-results .hentry:nth-of-type(3n+4) {
    		clear: none;
    	}
    }

    The above will create four squares on the Cubic theme’s home page for devices that are equal to or more than 1024px in width. You can decrease that number in the CSS snippet if you’d like it to apply to smaller devices too.

    Let me know if that’s helpful or if any extra questions come up. 🙂

    Thread Starter groug

    (@groug)

    mANY THKS FOR YOUR RESPONSE

    I Found IT but thanks you for the explaination of the css child nth-of-type 🙂

    You’re welcome! Feel free to open a new thread if extra questions come up.

    Thread Starter groug

    (@groug)

    Sorry for this new message.. but i search two days and i don’t found the solution

    I want to creat a 12th grid on One page
    But when i create 12 entries Cubic theme Create a another page at 10 entries and the 2 last are going on page 2…

    I just want 12 entries on page 1…

    I install jetpack css custom module that very great to edit

    i search to edit js cubic but i don’t found £;…

    i see this code http://jsfiddle.net/wahidpolin/b9j6ktfq/
    but don’t match on this theme …

    I’m so dissapointed

    If someaone have a little time

    My website are here : http://blog.unehistoiredegouts.fr/

    Thread Starter groug

    (@groug)

    I found a solution

    i had a argument <?php query_posts(‘showposts=13’); ?>
    i’m my index.phpp page just before the while loop and it’s good i think it’s not the perfect solution

    but…. 😀

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Change Number of Portfolio Items on Homepage WordPress Cubic Theme’ is closed to new replies.