Forum Replies Created

Viewing 15 replies - 61 through 75 (of 168 total)
  • Damn, roll on HTML5 video when we don’t have to bother with this embed / iframe crap!

    You’ll notice btw that we’re trying to get this responsive / fluid rather than fixed width and height.

    Right, checked my code with this awesome explanation, and tested it on your homepage. Works fine for me.

    I got the percentages wrong above for 4:3, and besides 16:9 is a more common aspect ratio these days. So on that basis, with full width embeds:

    .centerembed {
        height: 0;
        padding-bottom: 56.25%;
        position: relative;
    }
    .centerembed iframe, .centerembed object, .centerembed embed {
        height: 100%;
        width: 100%;
        position: absolute;
        margin: 0 auto;
    }

    56.25 is 9/16ths of 100. So for, say, 80% wide, you’d set the width accordingly and change padding-bottom to 80 x 9/16 = 45%.

    Whoops. Missed a line. How about this:

    .centerembed iframe,
    .centerembed object,
    .centerembed embed {
    	display: block;
    	margin-left: auto;
    	margin-right: auto;
    	width: 80%;
    	top: 0;
    	left: 0;
    	height: 100%;
    }

    And remove the <p> tags from around the Youtube URL. These get added when pasting in the URL in visual editor mode instead of text editor mode.

    Thread Starter psheld

    (@psheld)

    I’ve added the following to wp-config.php:

    define('FS_METHOD', 'direct');
    define('WP_AUTO_UPDATE_CORE', true );

    I was so convinced this would work based on my web research, but alas no. Agh!

    Evan is right. You’ll need FTP access, or File Manager via Cpanel.

    You’ll need to download the suspect file in question, make a copy for backup, edit it in an appropriate editor (eg, http://www.sublimetext.com/), and upload it to where you found it, again via FTP or File Manager.

    Alternatively, if this is starting to sound like Klingon to you, perhaps you might like to investigate building a WordPress instance at wordpress.com. It’s not so flexible, but that also means it’s far easier to keep on top of. I appreciate that means all your current work is lost, and you’ll know better than me how (un)acceptable that is.

    Can you send me a link to the page in question?

    You’ll have to achieve this with CSS. And avoid making the changes in the theme CSS else it’ll be overwritten next time you update the theme.

    Instead, add custom CSS via the Custom CSS facility in the Jetpack plugin, or Appearance_Customize_Other Options.

    This should do it, and will help with the oddities of Slideshare embeds too. Add the following custom CSS:

    .centerembed {
    	position: relative;
    	padding-bottom: 75%;
    /* 4/3 ratio */
    	padding-top: 30px;
    /* IE6 workaround*/
    	height: 0;
    	overflow: hidden;
    }
    
    .centerembed iframe,
    .centerembed object,
    .centerembed embed {
    	margin-left: auto;
    	margin-right: auto;
    	width: 80%;
    	top: 0;
    	left: 0;
    	height: 100%;
    }

    And then in the text editor, not the visual editor, making sure to leave the embed URL alone on its own line:

    <div class="centerembed">
    http://youtube.com/123456
    </div>

    You can turn off comments for each page in turn (Admin_Pages_Quick edit). But if you want to disable comments for pages across the board, current and future, then remove the code snippet
    <?php comments_template(); ?>"
    from the page.php of your theme.

    Thread Starter psheld

    (@psheld)

    Just deactivated SES DKIM Mailer and activated the WP SES plugin. Entered identical details and everything works a treat.

    Happy to help debug SES DKIM, well from a user perspective than developer, if that’s useful.

    Your first para here isn’t quite right because plugins don’t just help create new ways to present things. For example, that backup plugin I referred to has no visible impact at all on the way the website works.

    Now say another plugin enables widgets to display your Twitter timeline, and the current theme is so-called widget-enabled and there they are, your recent tweets for the world to see.

    Now you change to a theme that doesn’t show widgets. The Twitter widget plugin still ‘works’, it’s still activated, but the theme as it stands can’t allow it to do its thing, so to speak, because it includes no option to show it to visitors.

    Re. your question about UpdraftPlus, the short answer is no, to my knowledge. But why risk backing up to a single drive at home, that may frazzle at any moment, when a Google Drive or Dropbox account are free? There is an option to send backups files to an email account if that works for you.

    Different browsers employ different approaches to rendering (displaying) fonts. For example (although I appreciate this may be more technical than you need right now).

    Moreover, some fonts only come in certain weights, and different rendering engines will apply different rules to pick a weight if one isn’t specified accurately.

    For example, Arial, Helvetica, Georgia, etc. do not have weights other than 400 / “normal” and 700 / “bold”.

    I do know that Firefox has had trouble rendering Arial Black. So rather than, as you suspect, IE “bolding” the font, IE may be displaying it correctly and rather Firefox is rendering it in a lighter form.

    Try changing from ‘Arial Black’ to Arial 400 for normal paragraph styling and see if there’s consistency across browsers then.

    Have you changed the theme since posting this question? No menu visible on the left side now.

    Plugins and themes are quite separate. Of course, a theme may or may not loop in a plugin. A simple example could be a plugin that facilitates a certain type of widget, but if your theme doesn’t have the facility to show widgets, then the plugin won’t have any visible effect.

    So, in other words, no need to deactivate or uninstall plugins when switching between themes.

    Saying that, always have a backup – I use the UpdraftPlus plugin for backing up.

    It doesn’t appear to be bolded, ie,

    font-weight: bold;
    or
    font-weight: 700;
    for example.

    But it’s just your font selection:
    font-family: "Arial Black"

    Thread Starter psheld

    (@psheld)

    Conclusion. There is no way to do this. Closed.

Viewing 15 replies - 61 through 75 (of 168 total)