Social Media besides Post-title

resolved (4 posts) (2 voices)

  1. Hi,

    I got some stuff that i need to work out.
    If we get this working, other people can make good use of it.

    Anyways,
    Im looking for a way, to place a div block besides the post title.
    This DIV will contain codes for a Tweet button and Like this.

    How can i get this working?
    If you don't understand my question. I could make a screenshot visualizing what i want.

    Cheers,
    Daniel

    Posted 1 year ago #
  2. Elliott
    Support

    Hello ZenzeMedia,

    When you say the post title do you mean when viewed on a blog page or when you view a single post?

    If your talking on the blog page then open up /wp-content/themes/infocus/lib/includes/template-blog.php and on line 160 you should see this..

    <?php if ($header_disable) { ?>
    <h1><?php echo get_the_title($blog_page) ?></h1>
    <?php } ?>

    That is the title so you could place an absolute div next to it to get what you are wanting.

    Posted 1 year ago #
  3. Got it working.
    Went in the CSS to line 160. Place a div after the <H1> tag with the order to float:right.
    Then i included my social media. And tada! It worked.

    Thanks :)

    Posted 1 year ago #
  4. Elliott
    Support

    Glad you got it worked out ZenzeMedia, if you have any other questions then let us know.

    Posted 1 year ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme