Jump to content

Archived

This topic is now archived and is closed to further replies.

balfred1345

Anchor links are corrupting sections

Recommended Posts

balfred1345

Can you please take a look at:

http://whub34.webhostinghub.com/~videoh6/cidev1.com/intelligent-eyewear/

 

I updated to WP 4.0.1 and to DMS 2.1.9 today and have seen a very strange issue:

 

After editing my site for about three hours today, my Masonic section just disappeared.

I disabled all non-PL plugins, but didn't help.

 

I assumed that there was a database problem, so I used BackupBuddy to roll back the site to the start of my work (losing my 3 hours of time on the site).

 

After the rollback, I started in again. I tried adding both text box and PLnextbox sections.

 

Each time I added an anchor link with the ID attribute, it broke the section: making the section uneditable, and unresponsive.

 

Here's how I wrote the anchor link:

<a id="aboutEyewear"></a>

 

On the above referenced page, under the QuickSlider, I have one PLNextbox with  text only "Test 25" that is working fine. Under that, I have another PLNextbox with the anchor link only. This section is broken, not editable, nor visible to me in the PL edting interface.

 

Why would this break a section, and how do I add anchor links without breaking sections?

 

Thanks,

Bruce

 

Share this post


Link to post
Share on other sites
Danny

Hi Bruce,

 

Adding HTML in the format of an ID to be used as an anchor can not break the NextBox section, as I have just this moment added exactly the same code as you and I am still able to edit the section without any issue.

The problem you have in my opinion is that your site is just taking far to long to load, at one point it actually crashed my Chrome browser. Therefore, I think you need to speak to your host as to why this is, as it is taking to long to load. Also, you're going to need to remove all your custom scripts and CSS, as well as disable all plugins to see if this resolves your issue.

As, I noticed you have the following CSS which may be having some impact.

 

#site .pl-section-pad {
padding: 0px !important;
}

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
balfred1345

Danny  ,

 

I commented out the CSS as you suggested above, and that did the job! 

Do you think that because I took out (in CSS) the section padding on a section that only had content that did not take up space (ie the Anchor link html), that the section was there, but took up no space and therefore I couldn't see or edit it?

 

Thank you so much for pointing out the CSS. It would have taken me hours to isolate the trouble on my own.

 

I greatly appreciate your help!

 

Best,

Bruce

 

 

 

 

Share this post


Link to post
Share on other sites
Danny

Its most likely yeah, what you could try is un-commenting and then add some basic text to see if this is the case.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
balfred1345

Danny,

 

Just to follow up on the above problem. 

It is definitely an issue with removing padding and having no content in the section.

 

Here's what I did to repeat the problem:

I just added a new column. Put a PLnextbox into the column. Put an anchor link in the PLnextbox, no additional text or code.

Checked off Disable DMS padding classes

This effectively made the PLnextbox invisible on the page.

 

So, it looks like this is a little glitch with DMS: When padding is removed, and there is no content (text or image), the section becomes "invisible" on the page. 

 

It'd be nice to get this fixed in a future update. The workaround is of course to leave the padding, but there are times when I don't want the extra space.

 

Thanks,

Bruce

Share this post


Link to post
Share on other sites
Danny

This isn't a glitch, the anchor code contains no content and therefore, will be invisible when used with the no padding option. If you do not use no padding, there will be no issue. If you use NextBox and use the no padding, add some content to your Anchor link and it will still be visible.

 

For example:

 

<a id="aboutEyewear">Blah Blah</a>

 

The anchor is still visible. However, I am still not entirely sure what you issue is as your anchor link won't be visible at all ?

 

If you want to keep padding, then add your anchor code to a MediaBox section instead.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

  • Similar Content

    • yemoonyah
      By yemoonyah+
      Hi, even though I just got a SSL certificate, I can't get the green padlock to appear due to the following error:
      :A file with an insecure url of "http://yemoonyah.com/wp-content/plugins/pl-section-boxes/check.svg" was loaded via the javascript file: https://yemoonyah.com/wp-includes/js/jquery/jquery.js?ver=1.12.4 on line 3. The insecure URL may not be directly contained in the script file and may exist elsewhere."
      I figured if I delete and re-install the plugin it might fix the problem but will my boxes on the website still be there? Or do I have to redesign everything all over again if I delete the plugin and then re-install it?
    • cstudio
      By cstudio
      Hello,
      I need some help!  I am trying to add a Square booking script.  When I add it to a embed section it crashes the page editor and I am unable to save the page version.  I have tried using different browsers with the same result.
       I can add the script on the backend in the word press content area and get it to show and work, but it look terrible.  A page with in a page.  http://www.zoeanastacia.com/booking/.
      I need help getting the page editor to work properly or to make the wp content section to not look like an 90's iframe.
      Thanks
    • oseehys
      By oseehys+
      Hello There,
      So i want to use platform 5 and DMS sections on a single page, i am using a child theme with pinspro as my main theme and i activated platform 5, the only problem am having so far is the fixed option, my navbars are not aligning to their default size, and it will be great if platform 5 header and footer section will function, has anyone used this option, how can i make the best use of platform 5 and DMS on a site
      Cheers
    • yemoonyah
      By yemoonyah+
      Hi,
      I tried to make a simple change on my opt-in page today by reordering two sections.
      Now they won't save and whatever I do, the same 2 section will be stuck to the top.
      This is a huge problem since it is my opt-in page!
      http://yemoonyah.com/quiz
      (I'm on the latest WP & PL version)
      Thanks.
       
    • Anthony King
      By Anthony King+
      I have to say that I like the Layout and the Template based sections. Some of them are really impressive.
      One of the things that I would like to request though is the possibility of being able to dynamically rearrange the layout.
      An example of what I am talking about is take the Agency Section. It's current layout starts with the
      Splash Module then the Portfolio Module then the Service Module and so on and so forth.
      What would be great is if we were able to move these modules around. I.e have the Service Module first
      then maybe the Splash, and then the portfolio.
       
×