ramsboth
Forum Replies Created
-
Re-reading the train of discussion I should probably specify:
1. Yes, I am using 2016, and
2. I have not made any changes to the CSS.
I took a look at the CSS code referenced, and it made sense, but doen’t answer the basic question Rolldantide asked.
I have the exactly the same problem. I want to be able to use the basic Blog functionality, without having the metadata display or have its absence create unwanted white space.
Thanks.
Forum: Fixing WordPress
In reply to: Question on Theme 2016 foiblesFollow-up to the above. Answer should have been marked as “resolved.”
Forum: Fixing WordPress
In reply to: Question on Theme 2016 foiblesApologies for duplicate content. The original was in a general discussion where this was just an example. My intent was to put it as a question in the 2016 Theme.
Do you mean “How do I create links to on-page anchors?” If so, then target= is not relevant.
Not exactly what I said. I understand that target is not relevant because it has been deprecated and is not supported in 5.0. The problem I’ve had is that when I use the id attribute in a heading tag, the Heading doesn’t display in the window, but is above where it cuts off. I thought I had a solution, which was to put it into a
<p>
tag, which worked fine as long as I was in the same session. For whatever reason, the <p>tags are deleted–I’ve not been able to pin down exactly when/how that occurs.So the question was not how to I create link to on-page anchors, but how can I generate and anchor that works and is stable. Putting the id attribute in an tag works fine, but I have seen several statements indicating that it may not work.
Thanks for the links. I’ll check them out. Particular thanks for the link on the 2016 theme, which I have scanned. I don’t know how my past searches have missed it, but on a quick scan it covers a lot of questions/issues that I’ve had. Much appreciated
- This reply was modified 7 years, 2 months ago by Steven Stern (sterndata). Reason: put code in backticks
This may be foible of my MSIE, but I’ve found a simple workaround. That is to put the id attribute in a <P> tag on the line above the Header. I believe that to make it work you have to have a closing </P> and something in it. . .in this case a couple of blank spaces. Sub-optimal for anyone having to maintain the site after me, but working for now.
A more elegant solution will be gratefully appreciated.
Thanks for the reply.
That’s consistent with what I’ve been able to find on the W3 site and other blogs.
I’ll follow-up and do some playing with the specific code on my site, and post results. My initial observation is that the basic functionality of the two uses is very different. In the first context the id attribute specifies a target for an href link; in the second it points to a specific style in a css, which is applied to the element that the id is imbedded in. From a functional logic point of view these appear to be incompatible.
This this would explain some of the behavior I’ve seen trying to use it in the second context.
The other observation is that “top” may not be a good example, since that is also a default value for an href. I’m using it now to return users to the top menu and it works perfectly Here’s the code for the
I ran a quick check and see what it did if I put an id=”top” attribute in one of the headers in the page. It appears to override the default. This still didn’t solve the problem that the heading is still cut off in MSIE11/W10. The behavior is also “quirky”, by which I mean that it exhibits subtly different behaviors depending on context and platform. for example, on my Samsung Smart phone the headers display properly.
All this aside, thanks for you response. It suggested some paths for exploration that may help sort it out. Ultimately I think I’m going to have to find a way to work around the issue implied by my first observation. More later.
- This reply was modified 7 years, 2 months ago by ramsboth.