Forum Replies Created

Viewing 15 replies - 151 through 165 (of 681 total)
  • There’s actually an option to display full posts on Customizr panel.

    Heh, you beat me to it. I see you already found it as I was typing…

    If you modify using Customize page you can watch the changes in real time. But they are just a preview. They do not get saved unless you press “Save and Publish”. You’ll need to do it again and this time actually press the Save button. It’s at the top.

    functions.php of your child theme should only contain your own functions. Nothing from the parent functions.php unless you want to replace it with your own modified version. Right now I can’t tell if they’re modified or not, I have to check. But if you just copied functions.php from parent and added new functions to it, you should try to put your custom functions in a clean php file, not in a copy of parent functions.php: just make sure you have

    <?php

    on first line.

    Have you tried

    .brand.span3 {
    	width: 100%;
    }

    ?
    You might also want to take a look at this to understand the principle, if you don’t want it full width: http://www.themesandco.com/snippet/center-logo/

    There are two options: you either altered the Customizr files, either use a filter on your titles that outputs the content twice. Please save the contents of your child theme’s functions.php as functions.txt anywhere on your server (using UTF8 encoding) and link it here so I can have a look at it).

    Or make a phpfiddle for it: http://phpfiddle.org/

    Yep. First line of any “pure” php file (as in a php file that gets included in other php files, as most of WP templates are) has to have

    <?php

    on its first line and nothing else. So your custom functions actually begin from line #2. Also, it is a very good practice to NOT exit php mode before EOF (end of file). So, even if you might find in some examples

    ?>

    on the last line of a php file it is better that you remove that bit. If you accidentally input a white space (tab, space, new line, etc…) after that bit of code your site might break and you won’t see it (because it’s white space) and you won’t know what’s breaking it). Also, the nastiest cases are those when the site only breaks on some pages (because that particular template is only loaded for certain queries).

    What you want is not possible, because the header area has different proportions at different page widths. So your image can’t scale proportionally, the viewport sometimes needs to be a crop of the image. I suppose the closest to what you want is:

    {
    	background-size: cover;
    	background-position: center top;
    }

    When very large, it will scale with the page, cropping from the bottom if needed. When very small, it will remain 100% of header height cropping equal portions of left and right side.
    Another option is “background-position: center center;”.

    Yep, it’s what I thought it is. Here’s the solution for it (CSS):

    .entry-title a {
    	position: relative;
    	z-index: 1;
    }

    Sorry for the delay. I’ve barely had time to sleep for the past week.

    There are several ways to achieve that. Please provide a link.

    Depending on what you need, these are all the possible media queries for Customizr:

    @media all and (min-width: 1200px) {}
    @media all and (min-width: 980px) {}
    @media all and (min-width: 768px) {}
    @media all and (min-width: 481px) {}
    @media all and (min-width: 321px) {}
    
    @media all and (max-width: 1119px) {}
    @media all and (min-width: 980px) and (max-width: 1119px) {}
    @media all and (min-width: 768px) and (max-width: 1119px) {}
    @media all and (min-width: 481px) and (max-width: 1119px) {}
    @media all and (min-width: 321px) and (max-width: 1119px) {}
    
    @media all and (max-width: 979px) {}
    @media all and (min-width: 768px) and (max-width: 979px) {}
    @media all and (min-width: 481px) and (max-width: 979px) {}
    @media all and (min-width: 321px) and (max-width: 979px) {}
    
    @media all and (max-width: 767px) {}
    @media all and (min-width: 481px) and (max-width: 767px) {}
    @media all and (min-width: 321px) and (max-width: 767px) {}
    
    @media all and (max-width: 480px) {}
    @media all and (min-width: 321px) and (max-width: 480px) {}
    
    @media all and (max-width: 320px) {}

    This is also their correct order, by the way (as in, if you have selectors of the same strength in all queries they will work as expected).

    However, from my personal experience, one should not need more than 5 cases for any particular page layout. I’ve managed to build responsive tables with only 4 media queries.

    Electric, I’d like to have a look at this (please provide a link to your test). I’ve had similar issues with different themes and I think I might know the cause. But I’d like to take a look first.

    Thank you EF. Updated the snippet to work with last version of Customizr.
    @jazzatomo: your initial code couldn’t have worked. It’s not valid php. After the ending of the command you wrongly pasted

    '<blockquote>

    which shouldn’t have been there. However, as EF pointed out, the snippet used a filter that’s no longer valid in current Customirz version.

    Thread Starter acub

    (@acub)

    You can’t blame plugins for this, as it has nothing to do with the limit itself. It’s all about not issuing a warning or error notice of some kind when things don’t work the way they’re expected to.

    Most users won’t have a clue where to look and will blame it on… WordPress? “WP is not good for online shops. I just knew it!”

    Thread Starter acub

    (@acub)

    Well, I eventually found it here: http://translate.wordpress.org/projects/wp/dev/ro/default

    For anyone needing to merge an old translation with the latest version .po file, here’s the command you need to enter in Run->cmd:

    msgmerge {path-to-folder}\{latest-version-po-file} {path-to-folder}\{existing-(old)-po-file} > {path-to-folder}\{new-po-file}

    Than all you need to do is translate the untraslated strings and check the fuzzy ones.

    No, you don’t need to download, it’s already embedded in the theme. Just use the classes and it will all fall down into place, responsively.

Viewing 15 replies - 151 through 165 (of 681 total)