paulwpxp
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [SG Window] Delete "Hello World" blog box from front pageHi Prancer2016, this one we can not hide it via CSS because there is outer div containing it so even if we target that post and display none it, still the empty white box will be there.
There must be some kind of caching. Are you the only one who take care of this site? Have you ever install cashing plugin? Also it might help, please go delete the post from the trash.
We can use a Custom CSS plugin
https://wordpress.org/plugins/search.php?q=custom+cssand put this code in to make overall font size bigger
/* font size for screen smaller than 640px */ body { font-size: 15px !important; line-height: 1.6; } /* font size for screen bigger than 640px */ @media (min-width: 640px) { body { font-size: 18px !important ; } }Depending on the font family chosen, different font might appear a bit differently in actual size even it’s assigned with the same value, so just change the 15px and 18px in the code as you see fit.
Forum: Themes and Templates
In reply to: [Twenty Sixteen] How to Make a Static Homepage with Recent postsThe code output iframe is there (you can view source to see).
The problem is that the iframe pull up empty content, so please check your amazon code see if it’s correct. Make sure the code is correct.
Also if you have ad-block installed in your browser, please disable it.
Forum: Themes and Templates
In reply to: [Twenty Sixteen] How to Make a Static Homepage with Recent postsWe can use this Display Posts Shortcode plugin to display recent post in a pots/page content
https://wordpress.org/plugins/display-posts-shortcode/We can just put in the amazon code in a Text Widget so that it will appears in sidebar.
Forum: Themes and Templates
In reply to: [Argent] Replace Header Text with LogoYes, we just need another set of CSS in media query below that code.
Please note that I tested that code via Theme’s demo site
https://wp-themes.com/argent/The demo sets to display site title, and NOT display site description.
Forum: Themes and Templates
In reply to: Custom loop and Query questionThe idea is to get the name of athlete (content title) from athlete content type single page, and then use that as a search term to be used in our custom WP_Query (the search parameter is
s), and make our loop display the result in lists.The idea is untested but I think it’s viable.
Forum: Themes and Templates
In reply to: [Gossip] Change background of navbarWe need to put some CSS code via Custom CSS plugin
https://wordpress.org/plugins/search.php?q=custom+cssThis is the code that we need to change the color property of nav bar
.gossip-nav .gossip-desktop-navigation { background: #ffffff; border-bottom: 1px solid #e5e5e5; border-top: 1px solid #e5e5e5; }Depending on the new color, we might also need to change the color of text in menu items too (for accessibility)
.gossip-nav .gossip-desktop-navigation ul li a { color: #777778; } .gossip-nav .gossip-desktop-navigation ul li:hover a { color: #4fb2d9; }As a side note, your main body text color and the background doesn’t seem to have enough contrast. It’s hard to read.
Some useful info on color contrast
https://www.viget.com/articles/color-contrast
http://webaim.org/resources/contrastcheckerForum: Themes and Templates
In reply to: [Argent] Replace Header Text with LogoSuppose the logo image size is 300×75, use this code in Custom CSS plugin will do the job.
.site-title { line-height: 3; /* make sure it's a lot */ display: block; } .site-title a { border: 0; width: 300px; height: 75px; /* same as logo's width and height */ margin: 0 auto; overflow: hidden; } .site-title a::before { background-image: url("http://dummyimage.com/300x75/00aad9/fff.png"); content: ""; display: block; width: 300px; height: 75px; }Just change the background image URL to the real one, upload the image into your site first and then get the image URL.
Custom CSS plugin
https://wordpress.org/plugins/search.php?q=custom+cssForum: Themes and Templates
In reply to: Text is overlapping in a smaller browserUnder your current custom css, put this in
/* prevent text overlapsed with button in small screen*/ ul.products li.type-product > h3, ul.products li.type-product > p, ul.products li.type-product span.title-description { padding-right: 135px; }Forum: Themes and Templates
In reply to: Customizing CSSThe way to go is to install one of these Custom CSS plugins
https://wordpress.org/plugins/search.php?q=custom+cssand only put in CSS code that we need to make changes (just redeclare it with our own value). There is no need to reload the whole theme’s stylesheet just redecare what we want to change.
Forum: Fixing WordPress
In reply to: Site-Header cut offIt’s worth noting that there are 2 issues here.
First issue is the missing site title and site description, this will result in bad SEO and bad UX. We should always put in site title and description, and use proper CSS to hide it visually.
The second issue is the header image, this theme is using header image as background so it doesn’t scale, even if we use some CSS to make it visible in iPad portrait we still have users who visit the site via mobile phone.
Forum: Themes and Templates
In reply to: Sugar and Spice ThemeWe can do it via CSS, this doesn’t require messing with template.
Install one of these Custom CSS plugins
https://wordpress.org/plugins/search.php?q=custom+cssAnd use this code in its setting
#banner { display: none; } .home.page #banner { display: block; }Forum: Themes and Templates
In reply to: Sugar and Spice ThemeHi Your second question is different from your first question. Your first question indicated that you already have had that inside your theme so you should know best where that code is located.
But anyway since the slider is on all pages I’m guessing that the code is in header.php, this is my best guess. If you found that code, just wrap it in conditional (if/endif) code.
Forum: Themes and Templates
In reply to: [Harmonic] Background Video FlickerThis code at line #63 and #64 (selector at #51) is what causes the flickering
https://plugins.trac.wordpress.org/browser/wpmbytplayer/tags/2.0.6/css/mb.YTPlayer.css#L51-webkit-animation: fade .1s infinite alternate; /* Chrome, Safari, Opera */ animation: fade .1s infinite alternate;So we can disable that in our Custom CSS (plugin or via theme option if available) using this code.
Custom CSS plugin
https://wordpress.org/plugins/search.php?q=custom+css/* prevent flickering wpmbytplayer plugin (conflict with this theme) */ .loading { -webkit-animation: none !important; /* Chrome, Safari, Opera */ animation: none !important; }Forum: Themes and Templates
In reply to: Footer LogoLink to the site will be very helpful.
Without link to the site I’m guessing that the images that’re already there in footer might be some kind of flickr widget or instagram widget, if this is the case theme only pull the image via feed so just go update the image on that social site that host the images.
It can also be just a simple html that pull image from your own site put in via WordPress text widget, if that is the case we have to edit that text widget changing the image source.
It could also be gallery shortcode (enable via plugin), in this case we have to change the parameter in the shortcode and/or update the plugin setting.