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)
-   -   editing the postbithead - help needed (https://vborg.vbsupport.ru/showthread.php?t=303016)

Barbara1 10-05-2013 11:34 PM

editing the postbithead - help needed
 
hello,
i am creating a theme and i am using a bit wider /statusicon/post_new.png and post_old.png
as a result of this, the description of the time the post was created, gets ovelaped by the images.

the question:
is there a way to move the time description some pixels to right and how if yes?

thank you for your time,
crossing my fingers for an answer :)

ozzy47 10-05-2013 11:38 PM

A link to the page where this is happening, will help people help out.

Barbara1 10-06-2013 07:56 AM

thank you for your reply ozzy47 :)
here is a screenshot
at this moment its with the original png.
the red marked area is the distance the time needs to be moved to the right (please do not pay any attention to the vertical axis. its false

(cant press the like button for your post ozzy47. it says that i need to "like" someone else first)

edit: issue solved, picture removed.

nerbert 10-06-2013 08:29 AM

People want links so they can go to the actual page and experiment with changing the css with a dev tool like Firebug.

ozzy47 10-06-2013 08:39 AM

Search in your postbit.css template for the following.
Code:

.postbit .posthead .postdate, .postbitlegacy .posthead .postdate {
            display:block;
            float:{vb:stylevar left};
            clear:{vb:stylevar right};
            width: 49%;
            margin-{vb:stylevar left}: 10px;
            font: {vb:stylevar postbithead_font};
            padding-{vb:stylevar left}: 15px;
}

Change padding-{vb:stylevar left}: 15px; to a different value like, padding-{vb:stylevar left}: 25px;

You may need to adjust the px amount till it looks right.

nerbert 10-06-2013 08:47 AM

Lynne suggests overriding settings like that in additional.css like this:

Code:

.postbit .posthead .postdate, .postbitlegacy .posthead .postdate {
            padding-{vb:stylevar left}: 25px;
}


Barbara1 10-06-2013 10:15 AM

thank you very much ozzy47 and nerbert :)
i will go and work on it
cheers :)
(ozzy47, i still have the message "You must 'Like' someone else's post before liking any more by ozzy47.)

ozzy47 10-06-2013 10:19 AM

Nerbert's suggestion is probably easier, that way it is safe from upgrades. :)

Barbara1 10-06-2013 10:31 AM

Quote:

Originally Posted by ozzy47 (Post 2450372)
Nerbert's suggestion is probably easier, that way it is safe from upgrades. :)

oh thats important.
thank you both guys once more! :)

issue resolved, but it became too much fancy mith the animation i placed there. so i went back to the original *.png and time position


All times are GMT. The time now is 07:02 PM.

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.01781 seconds
  • Memory Usage 1,726KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete