• Resolved JulieBM

    (@juliebm)


    hi!
    I′m really happy with your theme!
    I wondered if there′s a possibility to change the width – now I got 4
    collumns on my Start page (4 collumns posts – depends on the width of my screen of
    course) and it begins to look chaotic – maybe I can switch down to 2
    collumns fixed in any way?
    I know how to change the number of collumns in a post but not on the start page.
    and… I know that fullfolio is supposed to be 100% width ?? but maybe there′s a way to change?
    Thanks!
    Julia

    PS:
    someone else asked that question before in feature request – i don′t get such an “main.css” – only thing i can see in editor is the style.css and lots of .php …

Viewing 7 replies - 1 through 7 (of 7 total)
  • Theme Author dinamiko

    (@dinamiko)

    Hi Julia,

    As you said, is possible to change the css that manages the columns layout, but the archive (css/main.css) isn’t accessible via Appearance / Editor in the admin.

    To do this, there are two options:
    1. To do it yourself, you need a html editor (dreamweaver, sublime text…) to edit main.css and a FTP program to upload the modified main.css
    2. If you give me some time (maybe the next weekend) I’ll write a little code that you can copy in Theme Functions (functions.php) archive that will solve your request.

    So, what option do you prefer? Tell me something about it, thanks.

    Thread Starter JulieBM

    (@juliebm)

    hey dinamiko! thanks for your very fast answer and sorry for my very late reply.
    so, i really would prefer to do it myself but i defenetly can′t – i don′t have any idea about programming…
    if there′s any chance that you could do it I would be very pleased… but i can imagine it′s a lot of work so do it if you like to and if there are more people then me who benefit from it… ??
    very best greetings!
    julia

    Theme Author dinamiko

    (@dinamiko)

    Hi Julie, this week I’m involved in a WordCamp event here in Barcelona, but the next week I’ll find some time to do what I told in this ticket, basically I’ll create a simple code that you can copy in functions.php using the wordpress admin, no coding skills required, I promise you ??

    Best

    Thread Starter JulieBM

    (@juliebm)

    :)))
    sounds great – enjoy your event in barcelona!

    ps: loved the city, great there!

    Theme Author dinamiko

    (@dinamiko)

    Hi Julie ??

    add this code in Appearance/Editor Theme Functions (functions.php)
    just after the first line (<?php)

    add_action('wp_head','custom_css');
    function custom_css() {
    $output = "<style>@media only screen and (min-width: 996px) {.item {width: 48.5%;margin-left:0.5%;margin-right:0.5%;margin-bottom:1%;}}
    @media only screen and (min-width: 1500px) {.item {width: 48.5%;margin-left:0.5%;margin-right:0.5%;margin-bottom:1%;}}</style>";
    echo $output;
    }

    basically this code adds css in the header of your theme, then sets the 996px and 1500px breakpoints to 2 columns.

    hope that this works, if so, then I’ll mark this ticket as resolved, thanks.

    Thread Starter JulieBM

    (@juliebm)

    it works!!
    great!!!
    thanks a lot! ??
    looks great! ??

    Theme Author dinamiko

    (@dinamiko)

    you’re welcome ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘change width’ is closed to new replies.