Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-19-2017, 06:26 PM
chloe101 chloe101 is offline
 
Join Date: Dec 2007
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Help with formatting of privacy.php in Master Style

My forum has about 10 styles so I made my Privacy Statement in the Master Style with template, hooks and all. So far so good.

My problem is some of the formatting- I need to indent & bullet a few items and have no idea how to do that. The normal html commands aren't working. Blockhead works great but I have no idea how to get the indents and bullets to work.

If it's as simple as telling to page to look up a certain CSS, I have no idea how to do that either.

Code:
<h2 class="blockhead">How we may use personal information</h2>
<br />
<ul>
  <li>To provide you our online content</li>
  <li>To personalize your experience</li>
  <li>To receive feedback from you and respond to it</li>
  <li>To contact you about anything you may submit</li>
  <li>To analyze user behavior in order to improve our web and mobile products</li>
  <li>To block attempts to disrupt the work of our websites and applications</li>
  <li>To prevent violations of our comment posting rules</li>
</ul>
Thanks in advance for any help.
Reply With Quote
  #2  
Old 01-19-2017, 06:32 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try changing:

HTML Code:
<ul>
to:

HTML Code:
<ul class="restore">
Reply With Quote
Благодарность от:
Dragonsys
  #3  
Old 01-19-2017, 07:15 PM
chloe101 chloe101 is offline
 
Join Date: Dec 2007
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarkFL View Post
Try changing:

HTML Code:
<ul>
to:

HTML Code:
<ul class="restore">
Thanks for this suggestion but sadly no difference. May I pm you a link to the page itself?
I've been tearing out my hair for several hours knowing that it I probably missed something obvious when I created the page. Was I supposed to link it to a master stylesheet?
Reply With Quote
  #4  
Old 01-19-2017, 07:32 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by chloe101 View Post
Thanks for this suggestion but sadly no difference. May I pm you a link to the page itself?
I've been tearing out my hair for several hours knowing that it I probably missed something obvious when I created the page. Was I supposed to link it to a master stylesheet?
First, try using:

HTML Code:
<div class="restore">
<h2 class="blockhead">How we may use personal information</h2>
<br />
<ul>
  <li>To provide you our online content</li>
  <li>To personalize your experience</li>
  <li>To receive feedback from you and respond to it</li>
  <li>To contact you about anything you may submit</li>
  <li>To analyze user behavior in order to improve our web and mobile products</li>
  <li>To block attempts to disrupt the work of our websites and applications</li>
  <li>To prevent violations of our comment posting rules</li>
</ul>
</div>
Reply With Quote
  #5  
Old 01-19-2017, 07:39 PM
chloe101 chloe101 is offline
 
Join Date: Dec 2007
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarkFL View Post
First, try using:

HTML Code:
<div class="restore">
<h2 class="blockhead">How we may use personal information</h2>
...
</div>
OMG. That was it! Thank you! 1 quick question, where's the best, most concise place to learn this (ie, why the first coding didn't work) ?

I had tried "restore" earlier but had no idea about needing the "div" CSS is obviously not my strong point. Thanks again.
Reply With Quote
Благодарность от:
MarkFL
  #6  
Old 01-19-2017, 07:43 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

CSS is like quantum mechanics...anyone who says they understand it does not...LOL!

I really can't tell you why your first code didn't work, I just recall when I once added a block to a page with an unordered list in it, and it didn't work as desired, so I looked at the DOM for an element where it did work, such as a post where the LIST BBCode is used, and I saw the "restore" class selector was used, and I added that to my element and it worked.

For me, CSS is a lot of trial and error.
Reply With Quote
Благодарность от:
chloe101
  #7  
Old 01-19-2017, 07:58 PM
chloe101 chloe101 is offline
 
Join Date: Dec 2007
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you! I feel less stupid already I googled a ton thinking surely someone must have gotten it into a privacy.php file already so I can just peak and copy. The closest I found was this
Code:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&middot;Name<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&middot;Address<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&middot;Phone Number
</div></div><h2 class="blockhead">How We Use Information</h2><div class="blockbody"><div class="blockrow"><p align=justify>
which looked awful on top of being just plain wrong. Thank you
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:25 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04416 seconds
  • Memory Usage 2,239KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (6)bbcode_html
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (3)post_thanks_box_bit
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete