View Single Post
  #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
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01212 seconds
  • Memory Usage 1,792KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete