Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter tpcweb

    (@tpcweb)

    Hi David,

    Thanks for all your efforts. I have my suspicions that it’s somehow linked to Google Search. I have explicity linked the site in the Search console (which tells goole what crawl and index) and have a test page using their search engine (which searches what google has found and displays the results. I have asked google to reindex certain pages and also actual PDFs. As it’s a new ebsite it doesn’t have many external links poiting to it and so doesn’t thus rank highly by google.

    I suspect that it could be due to the possible issue that the old website is still up and has some, but not all, of the same content. I’ll update this if and when Google resolves itself.

    • This reply was modified 6 months ago by tpcweb.
    Thread Starter tpcweb

    (@tpcweb)

    Hi David,

    I’ve stripped out the irrelevant bits of shortcode text that I added whilst trying to improve the websites accessibility score.

    The text “data-cya11y-org-font-size=”18″ style=”font-size: 18px;” came from the “AccessYes Accessibility Widget” which I’ve deactiviated.

    This is the shortcode in the page:

    [mla_gallery mla_markup=atpc-basic-2-column-copy mla_style=atpc-basic-2-column-copy my_gallery_title=”2025 Documents” category_name=pub-doc tag=”main+2025″]

    and this is its Style file:

    <style type='text/css'>
    #[+selector+] {
    margin: 0;
    width: 100%;
    border: 0px solid #ff0000;
    border-spacing: 0px;
    }
    #[+selector+] table {
    border: 0px dashed #00ff00;
    border-collapse: separate;
    padding-top: 1px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    }

    #[+selector+] tbody {
    border: 1px solid #AD855C;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    width: 100%;
    }
    #[+selector+] th.gallery-title {
    width: 88%;
    height: 16;
    vertical-align: top;
    border: 1px solid #AD855C;
    }
    #[+selector+] th.gallery-icon {
    width: 12%;
    height: 16;
    vertical-align: top;
    border: 1px solid #AD855C;
    }
    #[+selector+] td.gallery-icon img {
    border: 0px solid #ff00ff;
    }
    #[+selector+] .gallery-row {
    float: none;
    text-align: left;
    width: auto;
    padding: 0;
    }
    #[+selector+] td {
    padding: 0.2em;
    border: 1px solid #AD855C;
    }
    #[+selector+] .header-row {
    float: none;
    text-align: left;
    font-weight: bold;
    }
    #[+selector+] .gallery-caption {
    margin-left: 0;
    vertical-align: top;
    }
    </style>

    and this its markup:

    argument:
    post_parent=all
    post_mime_type=application/pdf
    size=icon_only
    columns=1
    mla_image_attributes=’width=16 height=16′
    link=none
    orderby=”name DESC”

    OPEN:
    <h2>[+template:([+query:my_gallery_title+])+]</h2>
    <table id="[+selector+]" class="gallery galleryid-[+id+] gallery-size-[+size_class+] ">
    <tr class="header-row">
    <th class="gallery-title">Document Title - click to view</th><th class="gallery-icon">Icon shows</br> File type</th>
    </tr>
    ROW OPEN:
    <tr class="gallery-row">
    ROW CLOSE
    <td class="gallery-title">
    <a href="[+filelink_url+]" >[+title+]</a>
    </td>
    <td class="gallery-icon">
    <img decoding="async" width="16" height="16" src="https://tisbury-pc.gov.uk/wp-content/plugins/media-library-assistant/images/crystal/pdf.png" class="attachment-icon size-icon" alt="PDF File icon">
    </td>

    ROW CLOSE
    </tr>
    CLOSE
    </table>
    Thread Starter tpcweb

    (@tpcweb)

    Hi Tom,

    Thanks I’ll try that. Which worked but now I’m left the sub menu items way over on the left. Is there anyway to position them on the right hand side of the sub-menu?

    Thread Starter tpcweb

    (@tpcweb)

    Hi David,

    Ive uploaded the Development version and it processed the PDFs just fine.

    Many thanks for your excellent work with MLA.

    Thread Starter tpcweb

    (@tpcweb)

    Hi David,

    Thanks for the quick response. I’ve got several other files with the same fault if you’d like to confirm your update?

Viewing 5 replies - 1 through 5 (of 5 total)