Forum Replies Created

Viewing 15 replies - 106 through 120 (of 124 total)
  • Plugin Author Themeover

    (@bastywebb)

    That’s great news.

    Thanks for writing back to confirm!

    Sebastian

    Plugin Author Themeover

    (@bastywebb)

    Hi Pik,

    I did actually responded to your message posted on the RSS feed-reader thread, but it doesn’t seem to be there now, how strange.

    I was saying that I have updated Microloader now to version 1.1.3 (which should fix your problem). I’ve just this minute updated Microloader on wordpress.org (I forgot to update the version number on the plugin before) so there may be a slight delay before v1.1.3 is available to download.

    I wasn’t actually able to replicate your issue so please write back here to confirm that the problem has been resolved.

    Many Thanks,

    Sebastian

    Plugin Author Themeover

    (@bastywebb)

    Yep. My feed reader is working fine.

    Plugin Author Themeover

    (@bastywebb)

    Hi,

    I was remembering the markup wrong. You target the divups on your specific page using:

    #divup-post-2193 .divup { width:179px; }
    #divup-post-2193 .div-1 { width:400px; }

    Cheers,

    Sebastian

    Plugin Author Themeover

    (@bastywebb)

    Hey,

    The divwrap div that wraps all the divup divs should have an id which relates the the post or page. If my memory serves me correctly, is should be something like ‘divwrap-289’.

    In which case, you target the page where you want 3 columns with:

    #divwrap-289 .divup { width:30%; margin-right:5%; }
    #divwrap-289 .mul-3 { margin-right:0; }

    Cheers,

    Sebastian

    Plugin Author Themeover

    (@bastywebb)

    Glad to hear it!

    Seb

    Plugin Author Themeover

    (@bastywebb)

    It will be something to do with a CSS rule defined somewhere in the parent theme’s stylesheet. But I couldn’t see what that was.

    Plugin Author Themeover

    (@bastywebb)

    No, the original code should just work.

    I’m sorry to say I’m stumped as to what’s lifting that first image!

    Plugin Author Themeover

    (@bastywebb)

    Hi,

    I’m not sure why the top image is higher than the rest. Sometimes making images display block can fix oddities like this. So you would write:

    .divup .wp-caption img { display:block; }

    If that doesn’t work it could be the margin and padding on the image and caption div. Trying setting it all to zero and then add margin/padding back in gradually, refreshing the page as you go to see what breaks it.

    To reset the padding/margin try:

    .divup .wp-caption,
    .divup .wp-caption img
    { padding:0; margin: 0; display:block; }

    I hope that helps!

    Sebastian

    Plugin Author Themeover

    (@bastywebb)

    OK, we’ve wondered a bit far off topic now so this is the last time I’m going to help you with this! But this final amended script should do everything you’re after:

    $(window).load(function(){
    	$("img").each(function(i,item){
    		var vertMargin = ( $(".TINYMCE_gallery_wrapper").height()-$(item).height() )/2;
    		var imgAlt = $(item).attr('alt');
    		$(item)
    		.css( "margin-top", vertMargin)
    		.css( "margin-bottom", vertMargin)
    		.after('<span class="img-alt-text">'+imgAlt+'</span>');
    	});
    });

    It’s worth mentioning that you probably could’ve achieved all of this with CSS alone.

    Over and out!

    Plugin Author Themeover

    (@bastywebb)

    Perhaps you could try this instead:

    $(window).load(function(){
    	$("img").each(function(i,item){
    		$(item)
    		.css( "margin-top", ($(".TINYMCE_gallery_wrapper").height()-$(item).height())/2 )
    		.css( "margin-bottom", ($(".TINYMCE_gallery_wrapper").height()-$(item).height())/2 );
    	});
    });

    [Please post code or markup snippets between backticks or use the code button.]

    Plugin Author Themeover

    (@bastywebb)

    Hi Christian,

    Sorry for late reply, I was on holiday.

    If you can post a link to the web page you are working on I will just post the CSS code you need in this forum. If that’s not possible, try the following:

    – don’t use relative or absolute positioning on anything
    – If you want the wrapping divs to be the same width as the images, give them a “width:150px” (or what ever). If you also want them to stack along in a line, give the divs a “float:left” (or right). If you float the divs, you may want to give the divup-wrap div “overflow:hidden” – which has a similar effect of adding a <div style=”clear:left”></div> after all the divs inside divup-wrap (but is a bit cleaner as it doesn’t require extra html or inline CSS).

    Hope that helps!

    Seb

    Plugin Author Themeover

    (@bastywebb)

    Hi,

    DivUp content just wraps your content in HTML <div> elements, so you would still need add CSS to your stylesheet in order to format the divs into pseudo table cells.

    Have you tried searching for a plugin that lets you create tables with the wysiwyg? If you can find one it will probably be better than DivUp content for your purposes.

    If too many DivUp content shortcodes results in a blank page I was not aware of that. Perhaps there is a shortcode limit applied by WordPress? In any case, could you post a link to the page in question?

    Cheers,

    Seb

    Plugin Author Themeover

    (@bastywebb)

    OK, here is some example CSS for you. But first, copy the dummy content from the plugin’s “Installation” tab (http://wordpress.org/extend/plugins/divup-content/installation/) into your static page, and save the page.

    Second, paste this CSS at the bottom of your theme’s style.css file:

    .divup-wrap { overflow:hidden; background: url(path-to/your-bg-image.jpg) no-repeat; }
    .divup { float:left;width:45%;margin-right:10%;margin-bottom:10%; background:yellow; }
    .div-even { margin-right:0; }

    – You don’t need to edit any template files such as page.php

    Now view the page (where you added the dummy content) and you should see that the content in between [divup] shortcodes has been split into squares with yellow backgrounds that occupy half the available space, with a small margin separating them – ie a two-column layout.

    Note, I’ve used percentage units in the CSS above. If the yellow squares don’t stack horizontally, try to work out the pixel width of the .divup-wrap <div> (by inspecting with firebug perhaps) and then change all the percentage units to fixed width units (e.g. 320px).

    Also, if you’re still having trouble, please post a link to the page where you pasted the dummy content – I won’t be able to help you any further unless you do that.

    Best of luck,

    Seb

    Plugin Author Themeover

    (@bastywebb)

    Hi papiliomj,

    If you could post a link to the web page you have been testing DivUp Content on I will see if I can offer any suggestions.

    Seb

    ps are you aware that DivUp Content does not try to style your content? It simply wraps content in HTML <div> elements so that you can style the content however you like using CSS.

Viewing 15 replies - 106 through 120 (of 124 total)