SCLUB免費論壇申請-使用者論壇's Archiver

IndianaJones 發表於 2015-10-1 20:00

不要打我,问个导航栏和顶部高度等问题,麻烦

[i=s] 本帖最後由 IndianaJones 於 2015-10-1 20:20 編輯 [/i]

[size=4][color=#a0522d][b]我尽量图文并茂把问题说明白,希望各位大神小神帮忙看看怎么设置:[/b][/color][/size][size=4][color=#a0522d][/color][/size]
[size=4][color=#a0522d][b]首先我的论坛地址:[url=http://indianajones.imotor.com]http://indianajones.imotor.com[/url][/b][/color][/size]/

1[size=3]、就死想问一下顶部条的css究竟在哪里,一直找不到,快笨死了{:14_735:},我知道官方不允许隐藏顶部条,我想的是,找到了以后,想把默认的背景:[color=#222222][font=Consolas,]background:url([img]http://sclub.com.tw/ad/images/adbg.gif[/img]) 替换掉,F12能知道这个默认背景图地址,但是不知道该去模板哪里修改啊,求解,[/font][/color][/size]
[size=3][color=#222222][font=Consolas,]为的是换成和页面背景统一,更整体美观。[/font][/color][/size]
[attach]68149[/attach]


[attach]68150[/attach]



2、我用的是无界兄的仿X3.1的模板,因为想采用banner大图,如下图:
[attach]68151[/attach]

但是页头高度有固定高度,只能显示一定高度,下面的会自动被挡上:
[attach]68153[/attach]

没办法,我就爬文搜索方法,本论坛也搜了,百度也搜了,找到了:
[code]<style>#header{height:500px}</style> [/code]放到第三方,

结果是下图中的2+3均自动移到下面去了,500px,然而导航菜单条1岿然不动!!

我无语了,又找啊找,找到了
[code]<style>#menu{absolute:fixed !important;top:464px}<style>[/code]放到第三方,

结果是1和2都移到去要固定的位置去了,[size=4][color=#ff0000][b]但是页面内的所有广告代码全部失效了[/b][/color][/size],包括我用的轮播广告代码,也就是图中的3,

所以我现在用的是最笨的办法,上面的都没用,直接在全页加了一个页头通栏换行广告(<br>[size=12px]<br>[/size][size=12px]<br>[/size][size=12px]<br>[/size][size=12px]<br>。。。[/size][size=12px]),把导航栏、轮播图直接顶到想要的位置上,[/size]
但是有缺点就是:

[color=#000000]虽然这个换行广告是应用全部页面,[/color][size=4][color=#ff00][b]但是只有首页管用,其他页面又坏掉了[/b][/color][/size]{:14_755:}[color=#ff0000][size=12px],[/size][/color][size=12px]如:[url=http://indianajones.imotor.com/viewthread.php?tid=211]http://indianajones.imotor.com/viewthread.php?tid=211[/url] [/size]

第二个问题就是:[url]http://tlb.258club.com/search.php?searchid=11&amp[/url];orderby=lastpost&ascdesc=desc&searchsubmit=yes  无界的这个快捷导航用不了了,直接错位的不忍直视了。。。

还有就是每次打开页面,1+2+3都是先在上面显示,然后才自动变成现在的效果

[attach]68152[/attach]


不知道我说明白没,{:14_727:}
[size=5][color=#ff0000][b]求解~~~[/b][/color][/size]

qianyin 發表於 2015-10-1 20:36

打开你的论坛的时候很慢,顶部条和页头的我看你好像也差不多弄好了…
至于换行广告,你可以试试放在模板,然后nav里面,或者header,那样子就别的界面也有了。出现的先后应该也是加载速度原因,也是放模板试试。
这边是你的论坛在我这里打开后的样子,一个是一开始开的一个是刷新后好的
[attach]68154[/attach]
[attach]68155[/attach]

夜影o夜劍 發表於 2015-10-1 20:41

[i=s] 本帖最後由 夜影o夜劍 於 2015-10-1 21:03 編輯 [/i]

[b]回復 [url=http://www.sclub.com.tw/discuz/redirect.php?goto=findpost&pid=259976&ptid=31529]1#[/url] [i]IndianaJones[/i] [/b]


如果想要讓banner更完整的話,只要將該段代碼添加在css_append就可以了,但是風格設定內必須要先把頁頭/頁面背景去掉
    [code].main tbody{border:1px solid #cacaca}body,html{background:url("頁頭背景的圖片地址") no-repeat 50% 0 #ffffff!important;}[/code]

4rphotoclub 發表於 2015-10-1 21:59

溫馨提示:樓主的論壇有電影,電視,音樂給會員下載欣赏,這已經有違規違反我們SCLUB正規使用手側了!

歐美電影 - 奪寶奇兵中文站 奪寶奇兵中文論壇 | 奪寶奇兵 - [url]http://indianajones.imotor.com/forumdisplay.php?fid=38[/url]

如果樓主不盡快把違規版塊清理整潔樓主的論壇將會被查封!

IndianaJones 發表於 2015-10-1 23:11

[i=s] 本帖最後由 IndianaJones 於 2015-10-2 01:32 編輯 [/i]

[b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=259993&ptid=31529]4#[/url] [i]4rphotoclub[/i] [/b]

站内有部分资源是论坛坛友自己购买的分享资源,
也有的是转载自外网或者国内的一些高清PT共享的可转载资源(原资源发布处注明可以转载),而且我在论也规定转载资源必须注明资源发布处。

IndianaJones 發表於 2015-10-1 23:40

[b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=259982&ptid=31529]3#[/url] [i]夜影o夜劍[/i] [/b]


    我的css-append模板默认没有任何代码,放进去以后,没有显示图片~{:14_735:}

夜影o夜劍 發表於 2015-10-1 23:43

[b]回復 [url=http://www.sclub.com.tw/discuz/redirect.php?goto=findpost&pid=260001&ptid=31529]6#[/url] [i]IndianaJones[/i] [/b]


    你是直接用默認版套系修改??

IndianaJones 發表於 2015-10-1 23:45

[b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=259981&ptid=31529]2#[/url] [i]qianyin[/i] [/b]


    恩,我试试模板用换行怎么样~

IndianaJones 發表於 2015-10-1 23:46

[b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=260002&ptid=31529]7#[/url] [i]夜影o夜劍[/i] [/b]


    不是,在X3.1模板里面试了,没反应,然后去默认模板试了还是没反应

夜影o夜劍 發表於 2015-10-1 23:52

[i=s] 本帖最後由 夜影o夜劍 於 2015-10-1 23:53 編輯 [/i]

[b]回復 [url=http://www.sclub.com.tw/discuz/redirect.php?goto=findpost&pid=260004&ptid=31529]9#[/url] [i]IndianaJones[/i] [/b]


    把仿X3.1風格的

頁頭背景:
第一格留空
第二格改成none
第三格留空

頁面背景:第1~3格全部留空

側邊背景圖:第1~3格全部留空

使用一下是否能解決

然後
將該段代碼添加在css_append就可以了,但是風格設定內必須要先把頁頭/頁面背景去掉
    [code].main tbody{border:1px solid #cacaca}body,html{background:url("頁頭背景的圖片地址") no-repeat 50% 0 #ffffff!important;}[/code]

IndianaJones 發表於 2015-10-2 00:07

[b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=260005&ptid=31529]10#[/url] [i]夜影o夜劍[/i] [/b]


    就是按这样子弄得呀,显示是:[url]http://indianajones.imotor.com/?styleid=12[/url]

无界 發表於 2015-10-2 05:07

[b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=260007&ptid=31529]11#[/url] [i]IndianaJones[/i] [/b]


    你不觉得你的论坛打开奇慢么?像假死了一样!

IndianaJones 發表於 2015-10-2 05:29

[b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=260017&ptid=31529]12#[/url] [i]无界[/i] [/b]


    模板改不对总是{:14_735:}用广告弄得音乐播放、页头高度,还有个轮播图,还有个每日一句,都是广告代码{:14_731:}{:14_771:}

无界 發表於 2015-10-2 05:37

[b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=260018&ptid=31529]13#[/url] [i]IndianaJones[/i] [/b]


    我看了一下  慢是因为那个谷歌翻译

IndianaJones 發表於 2015-10-2 06:43

[b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=260019&ptid=31529]14#[/url] [i]无界[/i] [/b]


    哦!正好测试过后发现大陆墙的缘故用不上,准备去掉~~谢谢啦
顺道求问导航栏错位该怎么修改~

頁: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.