Tagged: , ,

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #18607

    Hello,

    I’ve looked through the forum posts regarding the copyright line and I’ve made the necessary edits. However, I’m not familiar enough with code to:

    1. Get certain bits of text to start on a new line

    (I need ‘Use of this site…’ and ‘Materials on this site…’ to start on new lines after/below ‘All rights reserved’)

    2. Place a link for certain words

    (for example, I need to link the words ‘Privacy Policy’ to our privacy policy. I’m seeing a trend of <a href= … but I don’t know where to place it or how to get it to work for just the words ‘Privacy Policy’)

    How would I accomplish this?

    Thanks,

    Stephen

    #100128

    I took a shot at dabbling with the link (#2) and now that line of text is doing weird things.

    It’s centered, but it cut off 90% of the text.

    When you hover just below the visible text, the link to our privacy policy is clickable. In fact, clicking anywhere in my background takes me to our privacy policy.

    I have no idea where to go from here.

    #100129

    Hi Stephen,

    You’ll need to be familiar with basic html syntax at the very least to re-do the area there. The easiest route is to use the visual editor to create the text and layout you want and then paste it in between the copyright span. IE:

    <span class='copyright'>paste your html stuff here</span>

    This is in your footer.php inside the container that normally looks like:

    <span class='copyright'>&copy; <?php _e('Copyright','avia_framework'); ?> - <a href='<?php echo home_url('/'); ?>'><?php echo get_bloginfo('name');?></a><?php echo $kriesi_at_backlink; ?></span>

    Reference: http://www.w3schools.com/html/html_links.asp

    Regards,

    Devin

    #100130

    Hey Devin,

    I edited the HTML and, while it took care of the background being a link issue, it still doesn’t show the remainder of the text. It still cuts off after “All Rights Reserved.”

    #100131

    Hi hutzelm,

    Can you post your edited html code?

    Regards,

    Ismael

    #100132

    Sure, it’s:

    All rights reserved.</p>

    <p style=”text-align: left;”>Use of this site constitutes acceptance of our Privacy Policy <?php _e(‘Privacy Policy’); ?> – (effective 8/31/2012).</p>

    <p style=”text-align: left;”>Materials on this site may not be reproduced, transmitted, distributed, cached or otherwise used, except with the prior written consent of Hutzel Media Group.</p>

    #100133

    Try:

    <p>All rights reserved.</p>
    <p style="text-align: left;">Use of this site constitutes acceptance of our Privacy Policy <?php _e('Privacy Policy'); ?> - <a href='http://privacy-policy.truste.com/verified-policy/hutzelmedia.com'>(effective 8/31/2012). Materials on this site may not be reproduced, transmitted, distributed, cached or otherwise used, except with the prior written consent of Hutzel Media Group.</p></a>

    #100134

    No luck, it cut off even more of the text.

    #100135

    Hey!

    I just noticed that you’re trying to wrap a link into a link which will not work. At the moment your copyright code/text looks like:

    <span class='copyright'>&copy; Copyright 2012 - <a href='http://hutzelmedia.com/'>Hutzel Media Group - <p>All rights reserved.</p>
    <p style="text-align: left;">Use of this site constitutes acceptance of our Privacy Policy Privacy Policy - <a href='http://privacy-policy.truste.com/verified-policy/hutzelmedia.com'>(effective 8/31/2012). Materials on this site may not be reproduced, transmitted, distributed, cached or otherwise used, except with the prior written consent of Hutzel Media Group.</p></a>

    and this is not valid at all. Replace it with:

    <span class='copyright'>&copy; Copyright 2012 - <a href='http://hutzelmedia.com/'>Hutzel Media Group</a> - All rights reserved.</span>
    <p style="text-align: left;">Use of this site constitutes acceptance of our Privacy Policy Privacy Policy - <a href='http://privacy-policy.truste.com/verified-policy/hutzelmedia.com'>(effective 8/31/2012). Materials on this site may not be reproduced, transmitted, distributed, cached or otherwise used, except with the prior written consent of Hutzel Media Group.</a></p>

    Best regards,

    Peter

    #100136

    We’re making progress Peter. But not quite there yet. :)

    All the text has become visible, but it overlaps in the center, the majority of the text is a link for the privacy policy and the shading (that I inserted quick CSS to remove) behind some of the text is back.

    #100137

    Try following code:

    <span class='copyright'>© Copyright 2012 - <a href='http://hutzelmedia.com/'>Hutzel Media Group</a> - All rights reserved.</span>
    <p style="text-align: left;margin-top:20px;">Use of this site constitutes acceptance of our Privacy Policy Privacy Policy - <a href='http://privacy-policy.truste.com/verified-policy/hutzelmedia.com'>(effective 8/31/2012). Materials on this site may not be reproduced, transmitted, distributed, cached or otherwise used, except with the prior written consent of Hutzel Media Group.</a></p>

    #100138

    Good morning and Happy New Year!

    I’ve installed the code last week and while the text no longer overlaps:

    -”Use of this site…” and “Materials on this site…” still begin on the same line. I’m trying to figure out how to get the “Materials on this site…” sentence to begin on its own line (with all of the footer content being center aligned)

    -The actual link to the Privacy Policy is not connected to the words “Privacy Policy”, but to all the words that follow.

    -Also, despite having

    #footer .container {

    background-color: transparent;

    color: #000000;

    }

    in my Quick CSS box, there is still dark shading behind the text (or Privacy Policy link)

    #100139

    Hi hutzelm.

    This is what you currently have:

    <p style="text-align: left;margin-top:20px;">Use of this site constitutes acceptance of our Privacy Policy - <a href="http://privacy-policy.truste.com/verified-policy/hutzelmedia.com">(effective 8/31/2012). Materials on this site may not be reproduced, transmitted, distributed, cached or otherwise used, except with the prior written consent of Hutzel Media Group.</a></p>

    What this means is you have one single line in a paragraph tag. If you want to separate out the lines you can either use a break tag or separate them into multiple paragraph tags. So something like this:

    <p style="text-align: left;margin-top:20px;">Use of this site constitutes acceptance of our <a href="http://privacy-policy.truste.com/verified-policy/hutzelmedia.com">Privacy Policy</a></p>
    <p>(effective 8/31/2012). Materials on this site may not be reproduced, transmitted, distributed, cached or otherwise used, except with the prior written consent of Hutzel Media Group.</p>

    If you don’t want the socket links to have a background color, you need to add the following CSS to your Quick CSS or custom.css file:

    #top #socket .container a {
    background-color: transparent;
    }

    Please take a look at this link for how to format the html links and paragraph text so you can get it exactly as you need it: http://www.w3schools.com/html/html_links.asp

    You can even use the tool on that page which lets you try it out in the html view and see it live: http://www.w3schools.com/html/tryit.asp?filename=tryhtml_links

    Regards,

    Devin

Viewing 13 posts - 1 through 13 (of 13 total)

The topic ‘Getting Text (HTML) on Next Line & Imparting Links (Footer)’ is closed to new replies.