Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #918713

    HI, Enfold Expert

    How can i add <center></center> tag in below blog/pagination shortcut codes to display my ads <center>ads</center> above the pagination,.

    [av_blog blog_type='taxonomy' link='post_tag,4' blog_style='blog-grid' columns='3' contents='title' content_length='content' preview_mode='custom' image_size='medium' items='12' offset='0' paginate='yes' conditional='']

    I add the <center> tag like this way but it does not work.

    [av_blog blog_type='taxonomy' link='post_tag,4' blog_style='blog-grid' columns='3' contents='title' content_length='content' preview_mode='custom' image_size='medium' items='12' offset='0' <center></center> paginate='yes' conditional='']

    So, kindly let me know how can i add the <center></center> tag in provided shortcut code to display my ad above the pagination..

    Actually i want to put my ads codes inside the <center></center> like <center>ads</center>

    So how to put <center></center> in provided shortcut codes before pagination.

    #919154

    Hey Hafeez Ullah,

    Can you post a link to the page where you applied the center tag? so we can take a closer look.

    Best regards,
    Nikko

    #919176

    I will apply center tag here on this page:

    https://copybloggerthemes.com/blogger-templates/responsive/

    The center tag should above the pagination.

    like this site has did it:

    https://gooyaabitemplates.com/blogger-templates/responsive/

    also see screenshot of center tag of this site: http://prntscr.com/iky6sx

    #919434

    Hi,

    The center tag is not supported in html5: https://www.w3schools.com/tags/tag_center.asp. Maybe it would be better if you did this using CSS?

    Best regards,
    Rikard

    #924111

    @Rikard,

    how the <center> tag used by that another site ? i provided in above, and that site is also using the same enfold theme..

    screenshot: https://prnt.sc/iky6sx

    #924391

    Hi,

    I’m not saying that the tag doesn’t work, I’m saying that it’s not included in html5 so it’s better if you use a div tag or something similar, and center the text using CSS:

    <div style="text-align:center;">My text</div>

    Or just let us know what part you want to center and we’ll give you CSS to use.

    Best regards,
    Rikard

    • This reply was modified 6 years ago by Rikard.
    #924731

    Hi, Rikard,

    i am myself i a CSS expert,

    Here is not debate about CSS its all about, how to add any html element inside shortcut-codes ?

    actually i want to add <p> or <center> or <div> inside-shortcut codes..

    #924925

    Hi,

    There is no option for that using the shortcodes for Enfold unfortunately, but if you use CSS instead of adding markup then you wouldn’t have this problem.

    Best regards,
    Rikard

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.