vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Section Nav Bar and Advanced Search Alignment (https://vborg.vbsupport.ru/showthread.php?t=285518)

Onion_Bag_Dave 07-13-2012 05:43 PM

Section Nav Bar and Advanced Search Alignment
 
Hi guys,

Need some urgent help on this. Please. Not a modification as such, but maybe due to a previous modification to a template.

My site is www.musicgaff.com

I have several image widgets as HTML widgets.

The CLICK HERE TO SIGN UP image has taken for some reason the section navbar links 'latest news' and 'articles' and pulled them down so you can see them over said image.

AND

Also the exact same thing on the right hand side by my CLICK HERE TO GET PROMOTED image the 'Advanced Search' link is happening.

I can also see some other strange alignment issues, hope you can help urgently!

Thanks a lot
DAVE

EDIT - I just upgraded to 4.2 from 4.18 and this problem has only occurred since the upgrade.

--------------- Added [DATE]1342205304[/DATE] at [TIME]1342205304[/TIME] ---------------

I have just discovered that it seems to be something to do with the images that I mentioned, these images link to various other pages. However for some reason the whole image isn't clickable. Hmm...

HELP! ha!

--------------- Added [DATE]1342206968[/DATE] at [TIME]1342206968[/TIME] ---------------

http://www.musicgaff.com/forum/images/IMG_0967.JPG

http://www.musicgaff.com/forum/images/IMG_0968.JPG

http://www.musicgaff.com/forum/images/IMG_0966.JPG

--------------- Added [DATE]1342207015[/DATE] at [TIME]1342207015[/TIME] ---------------

Posted the pictures because I wanted to take site offline you can see where the certain links are in each of the images! Hope you can help!

Mythotical 07-13-2012 10:21 PM

Usually the only time this happens is when a widget has not been properly closed off such as using <div> tags.

Onion_Bag_Dave 07-14-2012 05:47 AM

Quote:

Originally Posted by Mythotical (Post 2347789)
Usually the only time this happens is when a widget has not been properly closed off such as using <div> tags.

This is the code in the widget

<a href="http://www.musicgaff.com/forum/register.php target="_blank">
<img src="http://www.musicgaff.com/forum/images/clicktosignup.jpg" width="750" height="239" border="0" style="border:1px solid black;" alt="Click Here To Sign Up" />
</a>

The others are the same but with different images!

Can't figure it out!

Mythotical 07-14-2012 05:54 AM

Use this instead:

HTML Code:

<div class="cms_widget">
    <div class="block">
        <div class="cms_widget_header">
        <h3>{vb:raw widget_title}</h3>
        </div>
        <div class="cms_widget_content">
        <a href="http://www.musicgaff.com/forum/register.php target="_blank">
                <img src="http://www.musicgaff.com/forum/images/clicktosignup.jpg"  width="750" height="239" border="0" style="border:1px solid black;"  alt="Click Here To Sign Up" />

        </a>
        </div>
    </div>
</div>

Just to let you know any widgets you add should have div's like above otherwise it will break the display.

Onion_Bag_Dave 07-14-2012 06:12 AM

Quote:

Originally Posted by Mythotical (Post 2347879)
Use this instead:

HTML Code:

<div class="cms_widget">
    <div class="block">
        <div class="cms_widget_header">
        <h3>{vb:raw widget_title}</h3>
        </div>
        <div class="cms_widget_content">
        <a href="http://www.musicgaff.com/forum/register.php target="_blank">
                <img src="http://www.musicgaff.com/forum/images/clicktosignup.jpg"  width="750" height="239" border="0" style="border:1px solid black;"  alt="Click Here To Sign Up" />

        </a>
        </div>
    </div>
</div>

Just to let you know any widgets you add should have div's like above otherwise it will break the display.

Hello, Thanks for your quick reply.

Well I've changed that and deleted the other widgets from my layout to see if it was indeed the thing you've suggested. And thanks for letting me know about div tags.

I've always had my widgets without div tags, but good to know.

The links across the top that show how you got to the certain article OR section.

Home > LATEST NEWS are not clickable, when they should be.

ALSO, if you go to www.musicgaff.com (site is disabled but you can see what I mean by links being in a weird position.


New Posts
FAQ
Calendar
Forum Actions
Quick Links

Links are all over the OFFLINE message.

So I'm thinking it could be a mixture of div tags not in the correct places AND some kind of weird template issue that's only occured after my update yesterday.

CONFUSED DOT COM!

Mythotical 07-14-2012 06:38 AM

Is that an entire custom style?

I would need to view the templates to figure out why the links are doing that.

Onion_Bag_Dave 07-14-2012 06:47 AM

Quote:

Originally Posted by Mythotical (Post 2347890)
Is that an entire custom style?

I would need to view the templates to figure out why the links are doing that.

It's not, 'that' edited. It's only colours that are edited in style manager. Images are only widgets. I haven't done anything massive to the code or anything. I have edited some templates .Have edited borders and padding of widgets in additional.css, but like I say this has happened after the update, before it was fine, nothing wrong with it at all, never had any problems.

Okay well, what shall I show you?

Really appreciate your help.

Mythotical 07-14-2012 06:54 AM

Hmmmmm, check all CSS for margin's and padding. Make sure they are correct and not using the same CSS tags as vB uses by default.

Onion_Bag_Dave 07-14-2012 07:01 AM

Quote:

Originally Posted by Mythotical (Post 2347903)
Hmmmmm, check all CSS for margin's and padding. Make sure they are correct and not using the same CSS tags as vB uses by default.

Sorry, I'm not sure what you mean.

Thanks for your help!

It's early for a Saturday. Ha!

Mythotical 07-14-2012 07:11 AM

Any CSS you added in the additional.css make sure margins are not overwriting things as well make sure all .css or #css are not overwriting default vB ones.

LOL I hear that, 3 am for me and I'm working on client stuff which is why I'm still awake.


All times are GMT. The time now is 09:34 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01377 seconds
  • Memory Usage 1,747KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete