Tagged: expansion link, header tags
This topic contains 4 replies, has 2 voices, and was last updated by dabeed 8 years, 11 months ago.
-
AuthorPosts
-
May 23, 2015 at 11:24 pm #4727
Hi — When I put header tags around the title, it changes the functionality. If I wrap them around the initial tags, everything is always expanded. And if I put them inside those tags, like around just the link text, that creates additional icons and is just “messed up.”
Any ideas or workarounds? Thanks!
May 24, 2015 at 10:17 am #4734Sorry about the links above! I meant to say
"If I wrap them around the initial <a> tags,"
but didn’t set that as code. Similarly in the next sentence I meant to also say"<a> tags."
Also, Evan, is there a way to edit our posts? I couldn’t see one. If I click on “Edit” below, I’m told I’m not allowed to do that. Oh, now I see I can’t edit the original, but I can edit this one, probably because the original is older. Any way to change that?
Thanks!
- This reply was modified 8 years, 11 months ago by dabeed.
May 26, 2015 at 9:40 am #4753Hi,
I’m not sure I understand the problem. You’re wrapping your announcement titles in header tags? And if you leave the post for too long, I don’t believe you can come back and edit it.
Thanks,
Evan- This reply was modified 8 years, 11 months ago by Evan Herman.
May 26, 2015 at 12:42 pm #4758Hi — Sorry that was confusing. I want to make the header an h4. By “header,” I was referring to the expand-cnt-link text element.
In the Page Editor, I’ve got this code:
12345678910<div class="exp-col-content-holder"><div class="exp-col-content-holder"></div><div class="exp-col-content-holder"><div class="exp-col-content-holder"><a class="expand-cnt-link" href="#">Colors</a><div class="hidden-content"><p class="hiddenContentp">Blue green yellow</p></div></div></div>If I do this, the header will be correctly styled as an h4, but the page will display expanded, and clicking on the link will only change the icon to its different state (the expanded text is always visible):
1234567891011<div class="exp-col-content-holder"><div class="exp-col-content-holder"></div><div class="exp-col-content-holder"><div class="exp-col-content-holder"><h4><a class="expand-cnt-link" href="#">Colors</a></h4><div class="hidden-content"><p class="hiddenContentp">Blue green yellow</p></div></div></div>I’ve also tried putting the h4 tags in different places, but nothing seems to work. Now I have say that I’m using WP 4.2.2, and I understand that this plugin hasn’t been tested on that yet, so that might be the issue right there. But if you have any immediate ideas, I’m all ears. However, I’ll sit tight, and keep my eyes out for an update. Thanks much!
Shoot, the code is just not displaying correctly (I tried putting a blank line before the code.) See the page in question here.
- This reply was modified 8 years, 11 months ago by dabeed.
May 26, 2015 at 8:53 pm #4762Hi — That link I posted above (www.davidweiss.net/test) won’t be a good example if I deactivate, which I’ll probably do because as I said I’ll sit tight, look at other options, etc. But again I’m all ears if anyone has ideas. I’ll try attaching a screenshot of the code (It’s too small to read but if you click on it, you can read it). Thanks!
- This reply was modified 8 years, 11 months ago by dabeed.
Attachments:
You must be logged in to view attached files. -
AuthorPosts
You must be logged in to reply to this topic.