Viewing 15 replies - 1 through 15 (of 30 total)
  • Can you share screenshot with icon?

    There is css issue.

    Thread Starter maxista

    (@maxista)

    Sure, thanks for replying. Let me know if you can see this:
    https://snag.gy/uZRPN.jpg

    Please share full page or half page screenshot.

    Please use this css and in your style.css file

    .site-content article {
    border-bottom: 4px double #ededed;
    margin-bottom: 72px;
    margin-bottom: 5.142857143rem;
    padding-bottom: 24px;
    padding-bottom: 1.714285714rem;
    word-wrap: break-word;
    -webkit-hyphens: none !important;
    -moz-hyphens: none !important;
    hyphens: none !important;
    }
    and let me know if it is not working or working.

    Please share your html source code if it is not working.

    Thread Starter maxista

    (@maxista)

    Where in the css do I put this code?

    style.css

    or do one thing share me the site url. I can tell you exactly how to resolve this issue.

    Thread Starter maxista

    (@maxista)

    yes, I know, but where in the style.css. Just anywhere? I put it at the top and nothing happened.

    azatlantic.com is the url.

    <?php
    function custom_js() {
    ?>
    <script>
    jQuery(“.apptitle”).each(function() {
    if(jQuery(this).html().indexOf(“-“)!==-1){
    var s=jQuery(this).html();
    jQuery(this).html(s.replace(/-/g, ‘ ‘));

    }
    });
    </script>

    <?php }
    add_action(“wp_footer”,”custom_js”);
    ?>

    // Add this in functions.php

    Please let me know is it working or not. I tried css but it could not work.

    Thread Starter maxista

    (@maxista)

    Hi Balasaheb, where do I put this code exactly on the functions.php file? Anywhere? I’m confused about that. I was also confused about that for the other css code you sent me.

    Thread Starter maxista

    (@maxista)

    Lol! I put that code in the functions.php and it broke the site and now I can’t get back into the dashboard. I had to dump everything and start all over. ??

    Thread Starter maxista

    (@maxista)

    Oh that’s not funny, it’s a lot more work to start over than I thought ?? I’ve just spend almost an hour rebuilding everything. Please be more specific with where I need to put the code. The functions.php just broke everything.

    You must be missed php tags in functions.php

    go to bottom of the functions.php file

    if last line has

    “?>” this tag then paste this code
    after “?>” this tag

    <?php
    function custom_js() {
    ?>
    <script>
    jQuery(“.apptitle”).each(function() {
    if(jQuery(this).html().indexOf(“-“)!==-1){
    var s=jQuery(this).html();
    jQuery(this).html(s.replace(/-/g, ‘ ‘));

    }
    });
    </script>

    <?php }
    add_action(“wp_footer”,”custom_js”);
    ?>
    ***********************************

    if last line has no “?>” tag then

    use this code :

    function custom_js() {
    ?>
    <script>
    jQuery(“.apptitle”).each(function() {
    if(jQuery(this).html().indexOf(“-“)!==-1){
    var s=jQuery(this).html();
    jQuery(this).html(s.replace(/-/g, ‘ ‘));

    }
    });
    </script>

    <?php }
    add_action(“wp_footer”,”custom_js”);
    ?>

    please confirm with me before pasting code.

Viewing 15 replies - 1 through 15 (of 30 total)
  • The topic ‘hyphens under appicon’ is closed to new replies.