Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #20109

    Hi

    Where can I change the copyright text exactly and also, I have newsletter sidebar plug in widget which doesn’t use the content font size but rather media = all is what I get from inspect elements. Can you give me a short code which changes the font size for sidebar widgets or do I have to change the font size for every plug in separately?

    Thank you

    #106334

    1) You can change the copyright text in sidebar.php – search for following line:

    echo "<span class='copyright'>".__('&copy; Copyright','avia_framework')." <a href='".home_url('/')."'>".get_bloginfo('name')."</a></span>";

    2) You can change the font size with following css code:

    .widget, .widget p{
    font-size: 14px;
    }

    #106335

    Thanks, got the sidebar fixed but not experienced enough in php so I can’t find the actual text and link which I would need to change from that line. Can you give me just a little bit more detail, please

    Thank you

    #106336

    Hi gixxxer,

    If you want to replace the Copyright text, then you should replace this one (based on Peter’s code):

    &copy; Copyright

    If it’s the Diablo Mods (link after copyright) that you want to change then replace this one:

    ".get_bloginfo('name')."

    you can replace this with any text just like:

    Some Text

    Regards,

    Ismael

    #106337

    ok, now I feel “simple” to say the least. ._. I tried to put the name and the link in there and just couldn’t get it to work. If I may please, can you put another link like “www.example.com” and also “EXAMPLE” (the text and code together just like in the initial model) in that code please.

    Also, I would need the css short code for the paragraph/body font size for product pages and the code to change ‘media=”all” body’ font size please

    My apologies for dragging this.

    Thank you

    #106338

    Hi,

    If you have problems with the code below, please paste what you want to display, in order to make things easier.

    will print out: © Copyright GOOGLE IS COOL

    echo "<span class='copyright'>".__('© Copyright','avia_framework')." <a href="HTTP://WWW.GOOGLE.COM">GOOGLE IS COOL</a></span>";

    will print out GOOGLE IS COOL

    echo "<span class='copyright'><a href="HTTP://WWW.GOOGLE.COM">GOOGLE IS COOL</a></span>";


    Widget Fun

    You can try this, it should do the trick. Just add it to Quick CSS located in Flashlight > Template Options > Styling … text area on bottom of the page ;; or to the bottom of the /css/custom.css file.

    #top .widget div{
    font-size:1.1em !important;
    }

    #106339

    Tried inserting that code and the same thing happened as previously when I tried, the page displays only the main post area and everything else is lost, background picture, menu, sidebars etc.

    Also, that font size code kept the size in 12px and would need to change to match the product pages withrest of the paragraph/body con tent font size in the site which is 14px.

    #106340

    Hi gixxxer,

    I think there is an issue escaping the quotes in the echo. Try just using plain html for the line. In the sidebar.php, replace the

    echo "<span class='copyright'>".__('&copy; Copyright','avia_framework')." <a href='".home_url('/')."'>".get_bloginfo('name')."</a></span>";

    with:

    ##echo "<span class='copyright'>".__('&copy; Copyright','avia_framework')." <a href='".home_url('/')."'>".get_bloginfo('name')."</a></span>";
    ?>
    <span class="copyright">&copy; Copyright <a href="http://diablomods.net/">Diablo Mods</a></span>
    <?php

    This will comment out the original line and then close out the php. Then the copyright line is plain html and you can just edit the url and text.

    Regards,

    Devin

    #106341

    Thank you very much. Got the copyright text field and link fixed now.

    Still missing the code to change the ‘media=”all” body’ font size though.

    Thanks

    #106342

    You can target that widget by adding the following CSS to your Quick CSS (located under the Styling Tab in the theme options) or the custom.css file in the css folder of your theme files:

    #top #wysija-2 p {
    font-size: 14px;
    }

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

The topic ‘copyright text and media="all" body font size’ is closed to new replies.