PDA

View Full Version : Help with formatting of privacy.php in Master Style


chloe101
01-19-2017, 06:26 PM
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.

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

<ul>

to:

<ul class="restore">

chloe101
01-19-2017, 07:15 PM
Try changing:

<ul>

to:

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

<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
First, try using:

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