Home Forums Businessx Free Problem with blog title at second page

This topic contains 2 replies, has 1 voice, and was last updated by  vitaliyua912 6 months, 2 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5100

    vitaliyua912
    Participant

    Hello, i have some problem with title of blog section, at a first page all look correctly, but at the second page instead of “blog of company” i have “Page #: 2 of 2”. Help me pleace!

    #5105

    vitaliyua912
    Participant

    Can you help me something? This is link to page with error: http://domobud.com/blog/page/2/

    • This reply was modified 6 months, 3 weeks ago by  vitaliyua912.
    #5245

    vitaliyua912
    Participant

    i did fixed this by myself, for this you just need insert to footer after:
    <?php
    /* ————————————————————————- *
    * Footer template
    /* ————————————————————————- */
    ?>
    next script:
    <script type=”text/javascript”>
    var sel = document.getElementsByClassName(“hs-primary-large”);
    for (var i = 0; i < sel.length; i++) {
    if(sel[i].innerHTML == “here the text that you want to change, in my example is: “Page #: 2 of 2”)
    {
    sel[0].innerHTML = “here the text that you wanna inset instead old words, in my example is “Blog of company” “;
    }
    }
    </script>

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

You must be logged in to reply to this topic.