• Resolved jas.singh474

    (@jassingh474)


    Hi,

    Why all posts are getting Justify after publishing?
    please guide how to fix it. I want my posts as in original form when I write.
    I am using Child customizr theme.

    Thank you

Viewing 15 replies - 1 through 15 (of 18 total)
  • What’s the original form?
    Link to your site?
    Anyway try adding this to your custom css:

    .entry-summary {
        text-align: initial;
    }

    Thread Starter jas.singh474

    (@jassingh474)

    Hi,

    Thank you reply and help @d4z_c0nf.

    My site is new and under construction. Here is the URL: http://goo.gl/dnJczT
    please check and guide.

    Hi, yes use the css above

    Thread Starter jas.singh474

    (@jassingh474)

    Hi,

    I tried that, it worked but I have 1 line gap between paragraphs when I click edit post, after publishing no gap and it looks like only 1 big paragraph.
    One more thing in recent post of shub kaur ghumaann I chosed align left for image to content but it shows me caption Id…….. and photo is not at place as I want.

    I don’t get the “gap” issue, sorry, can you make a screenshot with a huge arrow pointing to the issue? šŸ˜€

    About the caption, unfortunately is a bug fixed in the latest version 3.3.9

    can you update your theme and confirm it?

    Thread Starter jas.singh474

    (@jassingh474)

    Hi,

    From Gap I mean space between next paragraph. as I stated next paragraph after leaving one line.
    After updating everything fixed. Gap and caption both issues fixed.
    Thank you So much @d4z_c0nf. šŸ™‚

    Thread Starter jas.singh474

    (@jassingh474)

    Hi,

    Can you guide me how to change the position of Description and menu bar.

    I don’t have enough knowledge about tech so just here for help, you are so helpful and looks like a tech geek. šŸ™‚

    I want my menu bar in one line and description under the menu.
    Is it possible? If yes, then please guide.

    Thread Starter jas.singh474

    (@jassingh474)

    any help please?

    What about moving the tagline below the logo+navbar?
    To do this you need a child-theme and add this to your child-theme functions.php:

    add_action('wp_head', 'some_tagline_stuff');
    function some_tagline_stuff(){
      if ( ! class_exists('TC_header_main') && method_exists('TC_header_main', 'tc_tagline_display') )
        return;
    
      remove_action( '__navbar', array(TC_header_main::$instance, 'tc_tagline_display') , 20);
      add_action('__header', 'display_tagline_below', 40);
        function display_tagline_below(){
          $html = sprintf('<div class="container below"><%1$s class="site-description">%2$s</%1$s></div>',
            apply_filters( 'tc_tagline_tag', 'h2' ),
            apply_filters( 'tc_tagline_text', __( esc_attr( get_bloginfo( 'description' ) ) ) )
            );
          echo apply_filters( 'tc_tagline_display', $html );
        }
    }

    then add this to your child-theme style.css:

    @media (max-width: 979px){ .container.below {display:none;} }

    About the menu on one line, it depends on the space between the elements, you have to play with the padding, and font size:
    So, something like:

    .navbar .nav>li>a {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 14px;
    }

    But you might need adjustments for different viewports, see media queries.

    Thread Starter jas.singh474

    (@jassingh474)

    Hi @d4z_c0nf,

    Thank you for this help. i will try this and update you.

    Thread Starter jas.singh474

    (@jassingh474)

    Hi,

    It worked and looks nice. šŸ™‚

    After inspect element i want to try

    media=”all”
    .navbar .nav>li>a {
    padding: 5px 7px;
    font-size: 14px;
    }

    Can you tell me How to update or implement it?

    Thread Starter jas.singh474

    (@jassingh474)

    Hi,

    Now wordpress not working, i am getting following message while trying to Login.

    Parse error: syntax error, unexpected ‘=’ in /home/content/p3pnexwpnas06_data02/08/2390308/html/wp-content/themes/aha/functions.php on line 20

    Thread Starter jas.singh474

    (@jassingh474)

    Hi @d4z_c0nf sir,

    Regarding the movement of tagline below the logo+navbar, you suggest me to add code in child theme.

    ITS WORKING ONLY ON “HOMEPAGE” AND ALL OTHER PAGES ARE SAME LIKE EARLIER.

    I want for all pages. please check and guide me.

    Thank you

    Cannot reach your site because I see this:
    Fatal error: Cannot redeclare some_tagline_stuff() (previously declared in /home/content/p3pnexwpnas06_data02/08/2390308/html/wp-content/themes/aha/functions.php:6) in /home/content/p3pnexwpnas06_data02/08/2390308/html/wp-content/themes/customizr/functions.php on line 70

    you have defined that function two times.

    and that function works in all pages, there’s no if on the home page. So if you had THAT PROBLEM is because of caching issue.
    Clean server and client (browser) cache.

    Thread Starter jas.singh474

    (@jassingh474)

    Hi,

    Now please check. its fixed

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

The topic ‘Why all posts are getting Justify after publishing?’ is closed to new replies.