Forum Replies Created

Viewing 15 replies - 1 through 15 (of 39 total)
  • Thread Starter dasadler

    (@dasadler)

    Perfect! thank you very much.

    Thread Starter dasadler

    (@dasadler)

    Thanks Jeff although it runs together like DateAuthor. How would I put spacing between day and author to get Date Author?

    Thread Starter dasadler

    (@dasadler)

    Jeff, that worked perfectly, thank you.

    @hvh, thanks for the suggestion although I am embarrassed to admit that I don’t know anything about code, per se, I just find examples and try it with various logical (to me) modifications to see if it works.

    Programming/coding by trial and error and error and error.

    dasadler

    (@dasadler)

    I vote for this also… a rename feature would be good.

    Thread Starter dasadler

    (@dasadler)

    Okay, got what I like now…

    .hms-testimonial-group .author:after {
    content:” said:”;
    }

    Thread Starter dasadler

    (@dasadler)

    LOL… Timing is everything. You’re fast!

    I was just about to post the following and it works! What I wanted was something line Bill: or Mary:

    .hms-testimonial-group .author:after {
    content:”:”;
    }

    Your code works also very well. In fact, I may change to

    .hms-testimonial-container .author:before {
    content: “Testimonial by: “;
    }

    I’ll have to think about that.

    Thank you for the fast follow up.

    Thread Starter dasadler

    (@dasadler)

    As I have said previously, I am not a coder but the info at https://css-tricks.com/css-content/ seems to indicate that it may be possible using a CSS property called content.

    I don’t quite understand the information on that site – it is a short page… maybe it makes sense to you and we might be able to use it in this case?

    I am reluctant to get into php for fear I will mes something up.

    Thread Starter dasadler

    (@dasadler)

    Thanks, I will give it a try. Is there no way to do it in CSS? I am trying to contain all my customization with CSS override code.

    Thread Starter dasadler

    (@dasadler)

    I am thinking of something as simple as:

    FirstName LastName
    Customer Service Manager
    Your Fun Place to shop


    where the text can be formatted and any part of the text can be a link to either an off site URL or to another location within the WP site.

    In this case, for example, ‘Your Fun Place to shop’ could link to a products page.

    Obviously, it could be more elaborate. You could allow multiple signatures that are either user selectable when needed or associated with a particular user that is logged in as admin or author. This can be configured as a plugin option.

    When I said ‘multiple signatures that are either user selectable when needed’ I am thinking specifically of a small business or organization where one person wears many hats and may respond to a testimonial as CEO, customer service agent, tech support, etc.

    I hope this makes sense.

    Thread Starter dasadler

    (@dasadler)

    Although I would like to know why the difference in those fields if you happen to know.

    Thread Starter dasadler

    (@dasadler)

    Yes, thanks for your help… and inspiration. Go ahead and mark it resolved.

    Thread Starter dasadler

    (@dasadler)

    Finally – success!

    1) Don’t know why the testimonial field does not need the focus rule. I suspect there is something different about the way that input is handled and it is buried in a php function. Since I know nothing about coding… I’m not going there. However, I added the focus rule just to be consistent and in case whatever anomaly exists in php is corrected or changed someday.

    2) I learned that when naming a custom field that you should not use () as it causes problems. I created a custom email field and added (not displayed) to the field name then when I tried to use .hms_testimonials_cf_email_(not_shown) in the CSS it would not work so I changed it to hms_testimonials_cf_email-_not_shown and all is good.

    Thread Starter dasadler

    (@dasadler)

    Success… maybe..

    First, I had to modify the CSS you provided Jeff and it worked with focus but without focus it went to black so I had to have two CSS entries:

    .hms-testimonials-form .hms_testimonials_name
    {background:#E0C266; color:#000000;}

    .hms-testimonials-form .hms_testimonials_name:focus
    {background-color: #E0C266; color:#000000;}

    now it works but oddly enough, the testimonial field did not need the same two entries. No focus CSS was needed. Any idea why?

    Thread Starter dasadler

    (@dasadler)

    Does not make any sense – same code different results.

    Thread Starter dasadler

    (@dasadler)

    Thanks but I am afraid that does nothing. Here is what I have and how it works. Two fields in the form – name & testimonial.

    Before entering anything in the field both are perfect.

    1) When I place the cursor in the testimonial field – perfect; correct background, correct text color.
    2) When I place the cursor in the name field – the background changes to black and the text remains black. When I move cursor elsewhere, the background has the correct color and text is correct. If I put the cursor back in the field, it changes to black.

    .hms-testimonials-form .hms_testimonials_name
    {background:#E0C266;
    color:#000000;}

    .hms-testimonials-form .hms_testimonials_testimonial
    {background:#E0C266;
    color:#000000;}

Viewing 15 replies - 1 through 15 (of 39 total)