• I cannot figure out how to move my twitter box to the right of my featured content gallery?

    Can anyone help??

    shopelemenope.com

Viewing 15 replies - 16 through 30 (of 42 total)
  • Thread Starter am5

    (@am5)

    I’m not sure why I have two of them showing up??

    You have two instances of the twitter badge in your code. You only need the one within the “twitbadge” <div> tags.

    Try this: https://wordpress.pastebin.ca/1494397

    Thread Starter am5

    (@am5)

    Your the best! Any ideas why the gallery isn’t showing up now?

    I think there must be a missing </div> tag now which is causing it to go crazy.

    Add a </div> at the end of line 76 where it has this <?php $wp_query = $temp_query; ?>

    Such that it becomes this:

    <?php $wp_query = $temp_query; ?></div>

    What happened?

    Thread Starter am5

    (@am5)

    It didn’t like whatever I did!

    I’m going to post this since I’m sure I didn’t do it right.

    https://wordpress.pastebin.ca/1494402

    The reason it crashed is because one of the php tags that was split into two lines was merged into one.

    I’m going to scrap the added div tags and just try to CSS position it.

    Let’s just try this, I think it’ll be easier: https://wordpress.pastebin.ca/1494404

    Thread Starter am5

    (@am5)

    ok were back in business!

    Hehe CSS is not my strong point… The -301px bit is telling your twitter thing how high to go…. obviously it is going too high. I was positioning it from where it showed up last time which was at the bottom of the gallery stuff.

    Try fiddling with that. Change the -301 into like 100 or something. Tell me what it is and then tell me to look at it. I can take a screenshot into photoshop and then measure where it needs to go from there.

    Thread Starter am5

    (@am5)

    I put it on 100…

    The gallery doesn’t want to play nice with it again!

    Thread Starter am5

    (@am5)

    It just shifted on me….not quite sure what happened.

    Bah. Stupid thing. Well, the margin needs to be at 0 because it’s measuring from the top of header rather than the top of the page. That much I do know.

    The other thing that might be affecting it is the z-index: 1; part of the css that I added. Typically that would make it the top layer — maybe the gallery just doesn’t like that.

    So try making the margin-top zero and removing z-index: 1;

    Thread Starter am5

    (@am5)

    that seemed to work pretty good.

    Thread Starter am5

    (@am5)

    I clicked on it and it shifted again…

Viewing 15 replies - 16 through 30 (of 42 total)
  • The topic ‘moving twitter box’ is closed to new replies.