vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Help with blog styling (https://vborg.vbsupport.ru/showthread.php?t=317677)

HM666 03-08-2015 08:42 AM

Help with blog styling
 
1 Attachment(s)
I'm working on a custom skin for a site I'm gonna launch soon and I need some help finding the CSS to change some tag code. I want to make the white background in the popup in the screen shot be transparent so I need to know where to edit the CSS to do this. I cannot find it anywhere. :(

kh99 03-08-2015 09:11 AM

Looks like it's one of the tag_edit templates, maybe tag_edit_ajax_popup.

HM666 03-08-2015 11:44 AM

Quote:

Originally Posted by kh99 (Post 2539821)
Looks like it's one of the tag_edit templates, maybe tag_edit_ajax_popup.

Yeah already edited the tag_edit_ajax_popup template,

Code:

<div class="ajax_tag_edit_container" style="background-color:#281f28;border:1px solid #5a022b;border-radius:8px;padding:10px;color:#ffffff;">
<form action="threadtag.php?do=managetags" method="post" name="vbform">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" width="100%" border="0">
<tr>
        <td class="tcat"> </td>
</tr>
<tr>
        <td align="center">
        <div class="panel">
                <div align="$stylevar[left]">

                <fieldset class="fieldset">
                        <legend style="color:yellow;">$vbphrase[edit_tags]</legend>
                        <div style="padding:$stylevar[formspacer]px">
                                <if condition="$tag_manage_options">
                                        <div style="padding-bottom:$stylevar[formspacer]px">$vbphrase[uncheck_tag_remove_bold_you]</div>
                                        <ul class="floatcontainer" id="tag_edit_list">
                                                $tag_manage_options
                                        </ul>
                                        <hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
                                </if>

                                <div style="float: $stylevar[right]">
                                        <if condition="$show['add_option']"><div style="visibility:hidden">text</div></if>
                                </div>

                                <if condition="$show['add_option']">
                                        <div> <span class="shade">($vbphrase[separate_tags_using_comma])</span></div>
                                        <div id="tag_add_wrapper">
                                        <input type="text" class="bginput" name="taglist" id="tageditinput_$contentid" size="50" style="width:200px" tabindex="301" />
                                        </div>
                                        <if condition="$show['tag_limit_phrase']">
                                                <if condition="!$tags_remain">
                                                        $vbphrase[cannot_add_tags_remove_first]
                                                <else />
                                                        <phrase 1="$tags_remain">$vbphrase[you_may_add_x_tags]</phrase>
                                                </if>
                                                $vbphrase[tags_visible_all_users]
                                        </if>
                                </if>
                                </div>
                </fieldset>

                </div>
        </div>

        <div style="margin-top:$stylevar[cellpadding]px">
                <input type="hidden" name="do" value="managetags" />
                <input type="hidden" name="s" value="$session[sessionhash]" />
                <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
                <input type="hidden" name="contenttype" value="$contenttype" />
                <input type="hidden" name="contentid" value="$contentid" />
                <input type="hidden" name="url" value="$url" />
                <img src="$stylevar[imgdir_misc]/progress.gif" id="tageditprogress_$contentid" class="inlineimg" style="display:none" alt="" />
                        <input type="button" id="tageditsubmit_$contentid" name="tagsubmit" class="button" value="$vbphrase[save_changes]" accesskey="s" tabindex="302" />
                        <input type="button" class="button" value="$vbphrase[cancel]" id="tageditcancel_$contentid" accesskey="c" tabindex="303" />
        </div>
        </td>
</tr>
</table>
</form>
</div>
<div id="tag_add_wrapper_menu" class="vbmenu_popup" style="display:none"></div>

but I could find that code in there, only the inner box. Its right before that template starts. Using Firebug its this code:

Code:

<div id="blogtagmenu_1_menu" style="width: 300px; background: none repeat scroll 0% 0% rgb(255, 255, 255); border: 1px solid rgb(0, 0, 0); padding: 10px; position: absolute; z-index: 50; clip: rect(auto, auto, auto, auto); left: 239px; top: 492px; display: none;">
But of course there are vb variables so you cannot just look it up by the code alone.

The actual template code is:

Code:

<span id="blogtagmenu_{vb:raw blog.blogid}"><a href="threadtag.php?{vb:raw session.sessionurl}do=manage&amp;contenttype=vBBlog_BlogEntry&amp;contentid={vb:raw blog.blogid}"><img src="{vb:stylevar imgdir_misc}/blog/tag_edit.png" border="0" class="inlineimg" id="blogtag_{vb:raw blog.blogid}" alt="{vb:rawphrase edit_tags}" /></a></span
I think, I'm not completely sure.

There is no call for "blogtagmenu" or "blogtagmenu_" in any of the CSS in the templates and I tried adding it to the additional.css template to no avail. :(

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

Also there is CSS but I cannot find it anywhere in the templates this is what I need to change but I have no idea where to find it:

Code:

element.style {
    background: none repeat scroll 0 0 #ffffff;
    border: 1px solid #000000;
    clip: rect(auto, auto, auto, auto);
    display: none;
    left: 312px;
    padding: 10px;
    position: absolute;
    top: 638px;
    width: 300px;
    z-index: 50;
}


kh99 03-08-2015 12:16 PM

I'm not sure, but I'd guess that element.style means that those attributes come from the style="..." in one of the tags.

HM666 03-09-2015 11:21 AM

Thanks. :( Still have not found it. Its got to be somewhere. Is there a separate tag.css file or something in the files somewhere?

John Lester 03-10-2015 08:46 PM

According to Lynne it's not in any css file.

https://vborg.vbsupport.ru/showpost....58&postcount=2

From thread ... https://vborg.vbsupport.ru/showthread.php?t=266697

HM666 03-10-2015 10:31 PM

Quote:

Originally Posted by John Lester (Post 2540065)

ok but I searched for both element.style & the actual code that Firebug shows it to be neither is showing. :(

John Lester 03-11-2015 04:05 PM

When you searched did you search in templates for blogtagmenu_1_menu ?

HM666 03-11-2015 04:36 PM

Quote:

Originally Posted by John Lester (Post 2540147)
When you searched did you search in templates for blogtagmenu_1_menu ?

Yes it does not give anything at all. The 1_menu part is probably indicating my blog since I'm the only one on there & my blog id would be blog 1. Searching for blogtagmenu also does not render any results that give css coded into the template. So I'm at a loss I have no idea where to find this and I HAVE to change it.

John Lester 03-12-2015 04:33 AM

EDIT:

Found it! :D

Template = tag_edit_ajax_popup


All times are GMT. The time now is 05:35 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.01196 seconds
  • Memory Usage 1,760KB
  • 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
  • (4)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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