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 formatting of privacy.php in Master Style (https://vborg.vbsupport.ru/showthread.php?t=324239)

chloe101 01-19-2017 06:26 PM

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.

MarkFL 01-19-2017 06:32 PM

Try changing:

HTML Code:

<ul>
to:

HTML Code:

<ul class="restore">

chloe101 01-19-2017 07:15 PM

Quote:

Originally Posted by MarkFL (Post 2581091)
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?

MarkFL 01-19-2017 07:32 PM

Quote:

Originally Posted by chloe101 (Post 2581093)
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>


chloe101 01-19-2017 07:39 PM

Quote:

Originally Posted by MarkFL (Post 2581094)
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.

MarkFL 01-19-2017 07:43 PM

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. :)

chloe101 01-19-2017 07:58 PM

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 :)


All times are GMT. The time now is 02:20 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.01174 seconds
  • Memory Usage 1,737KB
  • 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
  • (6)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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