Tagged: blog posts, insertation of codes, shortcut codes
-
AuthorPosts
-
February 27, 2018 at 11:24 pm #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.
- This topic was modified 6 years, 9 months ago by hamzakhankhan.
February 28, 2018 at 4:36 pm #919154Hey 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,
NikkoFebruary 28, 2018 at 5:12 pm #919176I will apply center tag here on this page:
The center tag should above the pagination.
like this site has did it:
also see screenshot of center tag of this site: http://prntscr.com/iky6sx
- This reply was modified 6 years, 8 months ago by hamzakhankhan.
March 1, 2018 at 7:48 am #919434Hi,
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,
RikardMarch 8, 2018 at 9:45 pm #924111how 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
March 9, 2018 at 10:57 am #924391Hi,
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, 8 months ago by Rikard.
March 9, 2018 at 9:10 pm #924731Hi, 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..
March 10, 2018 at 3:03 pm #924925 -
AuthorPosts
- You must be logged in to reply to this topic.