test
Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • smartmax Friend
    #193650

    This is a difficult one 🙂
    Due to SEO – the articles are made just a little bit in a diffrent way than usual.

    But now is the question: Is it possible to hide the ‘H1-headings’ in Ja Content Slider?

    http://www.applicatietechniekvanderwal.nl/nieuw/


    1. Schermafbeelding-2014-01-10-om-14.31.09
    Css Magician Friend
    #518214

    Please go to Administrator -> Extensions -> Module manager -> choose Oplossingen module (your Ja contentslider name) -> set Show Title to Hide


    1. showtitle
    smartmax Friend
    #518291

    Thank you for your answer,
    but that’s not it.. We already did, but the article is diffrently written, as such:


    1. Schermafbeelding-2014-01-13-om-17.04.38
    2. Schermafbeelding-2014-01-13-om-17.05.37
    Css Magician Friend
    #518338

    @smartmax
    Please correct me if I am wrong. Did you mean:
    – In your article, you did add H1 tag for SEO as per your screen short
    – And now you wish to hide such H1 tag in Ja Content Slider?

    If that is the case, extra customization will be needed.

    smartmax Friend
    #518558

    … I hardly dare to answer … but Yes….
    That’s why I started with : “This is a difficult one” – and “Is this possible?” 🙂

    MoonSailor Friend
    #518626

    @smartmax,

    Please open the file “modules/mod_jacontentslider/helper.php”, find code:

    Code #1:


    if(trim($maxchars) == '-1'){
    $row->introtext1 = preg_replace("/<img[^>]+>/i", "", $row->introtext);
    return $row;
    }

    Code #2:


    if (function_exists ( 'mb_substr' )) {

    Then insert the following code between the code#1 and code#2 (above):


    $row->introtext = preg_replace('/<h1[^>]*>([sS]*?)</h1[^>]*>/', '', $row->introtext);

    Hope that helps.

    smartmax Friend
    #518860

    WAUWSAAA, this is great!!!! thank you very much, you’ve made me very happy! :laugh:

    smartmax Friend
    #520251

    Hi Moonsailor,
    I wanted to do the same trick with ‘mod_jasidenews’.
    But it seems t work diffrently.
    Could you please help me uit on this one also?
    Thank you!

    MoonSailor Friend
    #520296

    <blockquote>
    I wanted to do the same trick with ‘mod_jasidenews’.
    </blockquote>

    Please provide me with more details, I will see if I can help.

    smartmax Friend
    #542546

    Hi MoonSailor, what kind of details would you like?
    It is on http://www.applicatietechniek.nl

    We would like to remove the double titels in ‘Latest News’ and ‘Most Read’ at the bottom.
    Many thanks in advance.

    Ninja Lead Moderator
    #542688

    Which area are you referring to on your site? Things at least look to be running smoothly from what I can see.

    smartmax Friend
    #542843

    Hi Ninja Lead,

    Under: http://www.applicatietechniekvanderwal.nl/vacatures
    (JA CONTENT SLIDER)
    this one works fine, no double titles are showing now

    Under: http://www.applicatietechniekvanderwal.nl/bedrijf/profiel
    JA ACCORDIAN
    It shows two titles, but I have disabbled the title (don’t show title)

    Also in the footer with ‘MOST READ’ and ‘LATEST NEWS’
    two titles

    Ninja Lead Moderator
    #543194

    Apologies for this late response, somehow I missed this thread.

    Please apply my solution below to fix the problem on your site.

    Open templates/ja_mitius/css/custom.css file


    .ja-accordion .ja-accordion-content h1 {
    display: none !important;
    }

    .ja-footer .ja-slidenews-item .ja-title {
    display: none !important;
    }

    If you are still not able to solve the problem, please send me a illustrated screenshot and I will help you out.

    smartmax Friend
    #543196

    No problem, I am also not every day on this forum. Many thanks for you’re answer, I am going to try it right away…

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

This topic contains 14 replies, has 4 voices, and was last updated by  smartmax 10 years, 5 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum