• Resolved anynaseo

    (@anynaseo)


    The website is this: https://www.afarcasa.com. I am using a customized Constructor theme.
    I have nextgen gallery and digg-digg plugin. When I enable digg-digg it shifts the nextgen gallery bellow the end of digg-digg.
    Can you please help me with a piece of code to help me put nextgen gallery on the left and the digg-digg on the right.
    The only thing I changed on the code of nextgen gallery is this:

    <a class="slideshowlink" href="<?php echo $gallery->slideshow_link ?>">
    			<?php echo $gallery->slideshow_link_text ?>
    		</a>

    replaced with:

    <div class="slideshowlink">
    		<a>Clicca sull'immagine per ingrandire e clicca di nuovo per tornare alla pagina.
    		</a>

    Because it tells the user to click on a picture to enlarge and click again to get back on the page… some don’t get it.

    I really need digg-digg and I also need nextgen and filling the empty space with text is also not an option.

    Thanks in advance for your help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter anynaseo

    (@anynaseo)

    So is solved after a few hours of testing.
    These are the lines of code inserted into the theme

    In the CSS:

    #like-buttons {
    float:right;
    background-color:#bdfbc8;
    border-top: 1px solid #C7BE8D;
    border-right: 1px solid #C7BE8D;
    border-bottom: 1px solid #C7BE8D;
    border-left: 1px solid #C7BE8D;
    padding:4px 4px 4px 4px;
    }

    In the page.php and single.php

    <div id="like-buttons">
    <div align="center"><?php if(function_exists('dd_fblike_generate')){dd_fblike_generate('Like Box Count');} ?></div>
    <p>
    <div align="center"><?php if(function_exists('dd_twitter_generate')){dd_twitter_generate('Normal','Euroedil');} ?></div>
    <p>
    <div align="center"><?php if(function_exists('dd_gbuzz_generate')){dd_gbuzz_generate('Normal');} ?></div>
    <p>
    <div align="center"><?php if(function_exists('dd_stumbleupon_generate')){dd_stumbleupon_generate('Normal');} ?></div>
    </div>

    This is inserted after <div id="container"> and before <div id="posts">
    One more thing about the digg-digg and twitter_generate function: Does not recognize the “twitter_username” entry in the database and it must be inserted manualy.

    Another thing I have to solve is the size of the facebook like box width. When using locales on facebook the text in Italian for example is not complete so I am trying to find a way arround the default box size to change the width.

    The lines in the CSS can be edited after everyone’s will to adapt into their design: background, padding, border and so on.

    The code for other sharing options can be seen in the digg-digg settings in the dashboard under manual placement. I recommed using the if(function_exists line of code to avoid any problems.

    I will try and fix the locales settings for facebook and then I’ll let everyone know how it’s done.

    Thread Starter anynaseo

    (@anynaseo)

    If someones knows the line of code to be edited to make the facebook like box and button wider to be changed in digg-digg please tell me.
    At the moment the website looks like this:
    https://www.afarcasa.com/

    Thread Starter anynaseo

    (@anynaseo)

    So i solved.
    Edited dd-class.php on line 696
    "Like Box Count" => "width:50px; height:60px;",
    and changed with
    "Like Box Count" => "width:70px; height:60px;",

    20 px makes it a bit out of place so I am uncertain if I will keep it.
    At least I found where i have to edit this and hopefully my lines of code will be helpfull to others.

    One request for the moderators is to change the title to digg-digg manual placement – Constructor theme

    Thread Starter anynaseo

    (@anynaseo)

    I changed the padding on the CSS from : padding:4px 4px 4px 4px; to padding:6px 1px 3px 1px; and now it looks better.

    This is about it. I will change the status to “resolved”

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: NextGEN Gallery] Issue about being unable to have something on the right’ is closed to new replies.