• Resolved pepakura

    (@pepakura)


    Hi there!

    I am a little bit confused about the entry-title. I am trying to get a second row there because I want to insert some php under every entry-title; but I cant get it managed to insert a second row. (Users can rate my posts, i want the rating-stars under the entry-title of posts.)

    I am sure the solution is not that hard, but I was not able to manage it:/ Could somebody slightly help me out? I already have a childtheme and no problem to mess with the code:D

    best regards

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi there,

    Would you be able to provide a link to one of your posts so that I can see what you’ve done so far and help with more specific advice?

    It sounds like you may have already inserted the code via your child theme and are looking for some CSS help to align the ratings beneath your title. Is that right? Exactly where have you added the code so far?

    Also, are you using a plugin to generate the code for your ratings?

    Let me know those extra details and I can point you in the right direction from there.

    Thread Starter pepakura

    (@pepakura)

    https://www.pepakura.eu/all/masks-of-pinwheel-the-necromancer/ <– for example.

    I removed the border from the entry-title in the child style.css
    Via edit css in wordpress i changed the background of the title-header transparent and to 110 px max.

    I want to use wp-postratings plugin in the header.

    Like

    Entry-Header
    Entry-Title
    WP-PostRatings php code (Star-Rating Output)
    /Entry-Header

    Ah, I see!

    If you’d like to insert information there then you will need to copy the content-single.php file to your child theme and add the code for your ratings between the title and the end of the header there.

    CSS will likely need to be tweaked in order for your newly added ratings to appear just beneath the ratings. If you add the code into that file and let me know, I’ll be happy to take a further look.

    Thread Starter pepakura

    (@pepakura)

    Thank you very much! I wasnt really able to create a second row but i inserted my information in the entry-meta header and tried to style it like the headeR:D

    I can see you were able to add the ratings just below your title, as you wanted. Great!

    If you’d like to match the background colour of your site’s title, then you could add the following snippet to the style.css file in your child theme also:

    .entry-meta {
        background-color: rgba(0, 0, 0, 0.5);
    }

    Let me know how that goes. ??

    Thread Starter pepakura

    (@pepakura)

    You are indeed a autamttiv happiness engineer! Sorry for my delay, i am travelling around at the moment and have not internet all the time.

    I was messing around with this background and wasnt able to get him similar to the header; it turned out my code was okay and it simply was too late to work^^

    With new energy it worked:D *thousand hugs* Your Karma just increased a million points!

    Thank you so much for your kind words and I’m glad I was able to help out. ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Second Line in Title’ is closed to new replies.