Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-09-2011, 10:46 PM
Pirat3 Pirat3 is offline
 
Join Date: Dec 2007
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Forum Category BG image, need to shift to the right

Basically what I am trying to do is make something like this:
http://www.milargoreviews.com/mccforums/forum.php

I am following this:
https://vborg.vbsupport.ru/showthread.php?p=2163530

This is what I have gotten achieved:


Now I cant figure out how to move everything, including the forum background image to the right. As you can see from picture everything that was supposed to be under Last Post has been shifted to the left.

Can anyone tell me the modification I need to add to the code to fix this?

This is the code line I added:
Code:
<div style="border-right: 1px solid rgb(10, 11, 12); height: 20px; background: url(&quot;forumbg/{vb:raw forum.forumid}.png&quot;) no-repeat scroll right bottom rgb(26, 28, 31);" class="foruminfo td">

This is my entire forumhome_forumbit_level2_post
Code:
<li id="forum{vb:raw forum.forumid}" class="forumbit_post L2">
	<div class="forumrow table">
		<div class="foruminfo td">
			<img src="{vb:stylevar imgdir_statusicon}/{vb:raw forum.imageprefix}forum_{vb:raw forum.statusicon}-48.png" class="forumicon" id="forum_statusicon_{vb:raw forum.forumid}" alt="" />

<div style="border-right: 1px solid rgb(10, 11, 12); height: 20px; background: url(&quot;forumbg/{vb:raw forum.forumid}.png&quot;) no-repeat scroll right bottom rgb(26, 28, 31);" class="foruminfo td">

			<div class="forumdata">
				<div class="datacontainer">
					<div class="titleline">
						<h2 class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></h2>
						<vb:if condition="$show['browsers']"><span class="viewing">({vb:raw forum.browsers} {vb:rawphrase viewing})</span></vb:if>
					</div>
					<vb:if condition="$show['forumdescription']"><p class="forumdescription">{vb:raw forum.description}</p></vb:if>

					<vb:if condition="$vboptions['showmoderatorcolumn'] AND $forum['moderators']">
						<div class="moderators">
							<h4>{vb:rawphrase moderators}:</h4>
							<ol class="commalist">
								{vb:raw forum.moderators}
							</ol>
						</div>
					</vb:if>
					<vb:if condition="$show['subforums']">
						<div class="subforums">
							<h4 class="subforumlistlabel">{vb:rawphrase subforums}:</h4>
							<ol class="subforumlist commalist">
								{vb:raw forum.subforums}
							</ol>
						</div>
					</vb:if>

					<vb:if condition="$show['forumsubscription']">
						<p class="unsubscribe">
							<a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}subscription.php?{vb:raw session.sessionurl}do=removesubscription&amp;f={vb:raw forum.forumid}" rel="nofollow">{vb:rawphrase unsubscribe_from_this_forum}</a>
						</p>
					</vb:if>
				</div>
			</div>
		</div>
        <vb:if condition="$forum['statusicon'] != 'link'">
		<h4 class="nocss_label">{vb:rawphrase forum_actions}:</h4>
        	<vb:if condition="$vboptions['externalrss'] OR $show['member']">
		<ul class="forumactionlinks td">
			<vb:if condition="$forum['allowposting']"><vb:if condition="$vboptions['externalrss']"><li class="forumactionlink rsslink"><a href="external.php?{vb:raw session.sessionurl}type=RSS2&amp;forumids={vb:raw forum.forumid}" title="{vb:rawphrase view_forum_rss_feed}">{vb:rawphrase view_forum_rss_feed}</a></li></vb:if>
			<vb:if condition="$show['member']"><vb:if condition="$show['forumsubscription']"><li class="forumactionlink unsubslink"> <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}subscription.php?{vb:raw session.sessionurl}do=removesubscription&amp;f={vb:raw forum.forumid}" title="{vb:rawphrase unsubscribe_from_this_forum}">{vb:rawphrase unsubscribe_from_this_forum}</a></li><vb:else /><li class="forumactionlink subslink"> <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}subscription.php?{vb:raw session.sessionurl}do=addsubscription&amp;f={vb:raw forum.forumid}" title="{vb:rawphrase subscribe_to_this_forum}">{vb:rawphrase subscribe_to_this_forum}</a></li></vb:if></vb:if></vb:if>
		</ul>
		<vb:else />
		<div class="forumactionlinks"></div>
		</vb:if>
        <h4 class="nocss_label">{vb:rawphrase forum_statistics}:</h4>
		<ul class="forumstats td">
			<li>{vb:rawphrase threads}: {vb:raw forum.threadcount}</li>
			<li>{vb:rawphrase posts}: {vb:raw forum.replycount}</li>
		</ul>
		<div class="forumlastpost td">
			<h4 class="lastpostlabel">{vb:rawphrase last_post}:</h4>
			<div>
				{vb:raw forum.lastpostinfo}
			</div>
		</div>
        </vb:if>
	</div>
	<vb:if condition="$childforumbits">
		<ul class="childsubforum">
			{vb:raw childforumbits}

		</ul>
	</vb:if>
</li>

Please know I am kinda a newb to CSS editing, so I am just following the guide I posted above..any help on how to fix this issue is appreciated!

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

With more playing around its something with:

"class="foruminfo td">

That is causing the unalignment of the forums...any ideas?
Reply With Quote
  #2  
Old 09-10-2011, 11:06 PM
napy8gen napy8gen is offline
 
Join Date: Jan 2006
Location: port ++++son
Posts: 519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the line code you added should replaced the existing line
<div class="foruminfo td">
Reply With Quote
Благодарность от:
Pirat3
  #3  
Old 09-11-2011, 01:53 AM
Pirat3 Pirat3 is offline
 
Join Date: Dec 2007
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by napy8gen View Post
the line code you added should replaced the existing line
<div class="foruminfo td">
Works, thanks!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:31 AM.


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.03786 seconds
  • Memory Usage 2,194KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (1)post_thanks_box_bit
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (3)postbit_onlinestatus
  • (3)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete