Jump to content
Sign in to follow this  
emytza

Cum Adaug Opacitate Intr-O Tema Ipb?

Recommended Posts

Salut prieteni! Vreau sa va intreb cum pot schimba opacitatea la categoriile unui forum IPB, si forumurile ca in imaginea de mai jos:

 

kexOWYP.jpg

 

Multumesc anticipat :)

Share this post


Link to post
Share on other sites

Marimea aia dinte categorii e de la imaginea f_icon/f_icon_read si subforumurile le faci pe 3 coloane

 

AdminCP > Look & Feel > (choose skin) > Board Index > boardIndexTemplate

 

Inlocuieste:

<ol class='ipsList_inline ipsType_small subforums' id='subforums_{$forum_data['id']}'> <foreach loop="subforums:$forum_data['subforums'] as $__id => $__data"> <if test="showSubForumsLit:|:$__data[3]"><li class='unread'><else /><li></if> <a href="{parse url="showforum={$__data[0]}" seotitle="{$__data[2]}" template="showforum" base="public"}" title='{$this->lang->words['go_to_forum']}'>{$__data[1]}</a> </li> </foreach> </ol>

cu

<ol class='ipsList_inline ipsType_small subforums2' id='subforums_{$forum_data['id']}'><foreach loop="subforums:$forum_data['subforums'] as $__id => $__data"></ol> <ol class='ipsList_inline ipsType_small subforums3' id='subforums_{$forum_data['id']}'><if test="showSubForumsLit:|:$__data[3]"><li class='unread'><else /><li></if></foreach></ol> <ol class='ipsList_inline ipsType_small subforums' id='subforums_{$forum_data['id']}'><foreach loop="subforums:$forum_data['subforums'] as $__id => $__data"></ol> <ol class='ipsList_inline ipsType_small subforums1' id='subforums_{$forum_data['id']}'><if test="showSubForumsLit:|:$__data[3]"><li class='unread'><else /><li></if><a href="{parse url="showforum={$__data[0]}" seotitle="{$__data[2]}" template="showforum" base="public"}" title='{$this->lang->words['go_to_forum']}'>{$__data[1]}</a></li></foreach></ol>

AdminCP > Look & Feel > (choose skin) > ipb_styles.css

 

Adauga jos de tot:

table.ipb_table ol.subforums1 {margin-top: 3px;float: left;width: 33%;}table.ipb_table ol.subforums1 li{background: url('{style_images_url}/subforum_nonew.png') no-repeat 0 50%;padding: 0 15px 0 15px;margin: 0;float: left;}table.ipb_table .subforums1 li.unread { font-weight: bold; background-image: url('{style_images_url}/subforum_new.png'); }table.ipb_table ol.subforums2 {width: 33%;overflow: hidden;}table.ipb_table ol.subforums2 li {background: url('{style_images_url}/subforum_nonew.png') no-repeat 0 50%;padding: 0 15px 0 15px;margin: 0;float: left;}table.ipb_table .subforums2 li.unread { font-weight: bold; background-image: url('{style_images_url}/subforum_new.png'); }table.ipb_table ol.subforums3 {width: 33%;overflow: hidden;}table.ipb_table ol.subforums3 li {background: url('{style_images_url}/subforum_nonew.png') no-repeat 0 50%;padding: 0 15px 0 15px;margin: 0;float: left;}table.ipb_table .subforums3 li.unread { font-weight: bold; background-image: url('{style_images_url}/subforum_new.png'); }

Share this post


Link to post
Share on other sites

Salut , referitor la subforumuri , am gasit urmatoarele:

class='ipsList_inline ipsType_small subforums' id='subforums_{$forum_data['id']}'>
                                                            <foreach loop="subforums:$forum_data['subforums'] as $__id => $__data">
                                                                <if test="showSubForumsLit:|:$__data[3]"><li class='unread'><else /><li></if>
                                                                    <a href="{parse url="showforum={$__data[0]}" seotitle="{$__data[2]}" template="showforum" base="public"}" title='{parse expression="IPSText::striptags( IPSText::htmlspecialchars($__data[1]) )"}'>{$__data[1]}</a><if test="isNotLast:|: empty($__data[4] )">,</if>

 
nu prea stiu sa modific aici... am modificat dar a trebuit sa dau revert ca numai prostii facusem :)) . Asa ca nu merge nici cu opacitatea... apropo , folosesc tema animate.

Share this post


Link to post
Share on other sites

1. Schimbi imaginea background.jpg din fişierul de imagini al temei (/public/style_images/)

2. AdminCP -> Look and Feel -> tema ta -> CSS tab -> ipb_styles.css

 

Caută ceva de genul

.content{
	background: #191919;
	border: 1px solid #2b2b2b;
	border-top: 1px solid #313131;
	-webkit-box-shadow: rgba(0,0,0,0.6) 0px 0px 12px;
	-moz-box-shadow: rgba(0,0,0,0.6) 0px 0px 12px;
	box-shadow: rgba(0,0,0,0.6) 0px 0px 12px;
}

şi adaugă la final

opacity: 0.8;

ca să ai gen

.content{
	background: #191919;
	border: 1px solid #2b2b2b;
	border-top: 1px solid #313131;
	-webkit-box-shadow: rgba(0,0,0,0.6) 0px 0px 12px;
	-moz-box-shadow: rgba(0,0,0,0.6) 0px 0px 12px;
	box-shadow: rgba(0,0,0,0.6) 0px 0px 12px;
        opacity: 0.8;
}

Unde modifici 0.8 în funcţie de cât de transparent vrei să fie.

Share this post


Link to post
Share on other sites
.content{
	background: #191919;
	border: 1px solid #2b2b2b;
	border-top: 1px solid #313131;
	-webkit-box-shadow: rgba(0,0,0,0.6) 0px 0px 12px;
	-moz-box-shadow: rgba(0,0,0,0.6) 0px 0px 12px;
	box-shadow: rgba(0,0,0,0.6) 0px 0px 12px;
        opacity: 0.8;
}

e bine ?

Share this post


Link to post
Share on other sites

1. Schimbi imaginea background.jpg din fişierul de imagini al temei (/public/style_images/)

Share this post


Link to post
Share on other sites

uite

.content{
	background: #191919;
	border: 1px solid #2b2b2b;
	border-top: 1px solid #313131;
	-webkit-box-shadow: rgba(0,0,0,0.6) 0px 0px 12px;
	-moz-box-shadow: rgba(0,0,0,0.6) 0px 0px 12px;
	box-shadow: rgba(0,0,0,0.6) 0px 0px 12px;
        opacity: 0.8;
}

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×