paulwpxp
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Stretch header image to full screen Twenty FourteenSo it’s a no left sidebar customized version of the theme. The featured content is extended to full width (1260px). Problem is theme assigns full size featured image as 1038px, and WP only crop image once upon upload.
So we can either
Create a child theme and override that image size in php function and then use Regenate Thumbnails plugin to crop the already uploaded images with this new size.
or
Compromize the cripsness of image a bit, just force the image to span full via CSS. This we use browser to scale the image. Image quality gets blurred a little bit, but it gets the job done without too much work.
Try putting this in your Custom CSS
/* extend featured image on front page to 1260px */ .home #featured-content .size-twentyfourteen-full-width { width: 1260px; }Forum: Themes and Templates
In reply to: move down top menueUse this code in Custom CSS if theme provided, or use a Custom CSS plugin
https://wordpress.org/plugins/search.php?q=custom+css@media (min-width: 768px) { body #header-left-section { width: 100%; } body #header-right-section { margin-top: -48px; } } @media (min-width: 1200px) { body #header-left-section { width: auto; } body #header-right-section { margin-top: 68px; } }Forum: Themes and Templates
In reply to: Theme Freak: CSS styling helpYes sure
body #footer-sidebar { background-color: rgba(255, 255, 255, 0.9); } body #colophon { background-color: rgba(255, 255, 255, 0.9); }Forum: Themes and Templates
In reply to: Change Dropdown menu BG ColorYou are still working on the background color code thinking it doesn’t work, and this has nothing to do with box-shadow. So let’s drop the box shadow thing and focus on the background color only.
The code works but you think that #ddd is a very dark grey while it’s actually the contrast, when the ul dropdown open it’s laid over dark background image, this making the #ddd looks lighter than what you usually see the #ddd.
So it’s just the contrast effect that makes the same color appears to be darker/lighter on different shade of background.
Forum: Themes and Templates
In reply to: [SG Window] Delete "Hello World" blog box from front pageNo problem, happy to help. I hope you get it all sorted.
Forum: Themes and Templates
In reply to: Change Dropdown menu BG ColorYour rgb(0,0,0) is black, and the backgroun is also very dark that’s why we can’t see any changes.
Try this, I think this is what you are looking for.
.main-navigation ul ul { box-shadow: 3px 3px 0 rgba(255, 122, 45, 1); }Forum: Themes and Templates
In reply to: Change Dropdown menu BG ColorIt’s this selector
.main-navigation ul ul { background: #fff; }Note: Changes in CSS should be done via Custom CSS plugin or theme option if provided.
Forum: Themes and Templates
In reply to: Image on homepageIt’s a custom theme so folks here can’t access the code, but it shows in the WordPress’s body class that the front page is a page using a page template called home, so we can look for template with that name.
Another template that the image code might be located is header.php.
Forum: Themes and Templates
In reply to: Theme Freak: CSS styling helpFor accessibility reason there must be enough color contrast otherwise the content won’t be readable. So instead of making it completely transparent, we should use white with some opacity and make sure font color has high contrast to the background.
Try this code in Custom CSS plugin (or in theme’s setting if provided).
body .mega-container { background-color: rgba(255, 255, 255, 0.9); } body #primary-mono .entry-content { color: #000; }Some useful info on color contrast
https://www.viget.com/articles/color-contrast
http://webaim.org/resources/contrastcheckerForum: Themes and Templates
In reply to: [SG Window] Delete "Hello World" blog box from front pageIn order to help fixing this, it’s necessary to see the actual problematic site, so if possible please copy the URL of the web page that has the “Hello World” post wont’ go away and paste it here, so that I can visit that web page and inspect its source code.
Forum: Themes and Templates
In reply to: [SG Window] Delete "Hello World" blog box from front pageHi so your “mother” site link is just to show what’s good, right? and what about your problematic sub domain site? Can you link to it and point to the “Hello World” box that wont’ go away?
Forum: Themes and Templates
In reply to: Text is overlapping in a smaller browserThe code I posted works for small screen and big screen but some of the styles had been changed since then. If you have a backup or if you can remember, try reversing your code to the one at the time I posted that code.
Forum: Themes and Templates
In reply to: Assign Category to Entire SiteI don’t see why assigning post with one extra category will mess up permalink structure. But anyway if you really like the theme and do not want to assign extra category, we can modify the theme (via Child Theme).
Once we have a blank child theme (with one empty stylesheet) working properly, just copy over this file into child theme folder
liveblog/template-parts/featured-posts.phpLook at line#5 here, just change the WP_Query parameters to our own
https://themes.trac.wordpress.org/browser/liveblog/1.0.13/template-parts/featured-posts.php#L5WP_Query
https://codex.wordpress.org/Class_Reference/WP_QueryForum: Themes and Templates
In reply to: Can't make CSS code work on mobile.Can you please specify the h1 h2 h3 in problem? I mean link me to the page on your site and point me to the h1, h2, h3 that you expected the changes.
Forum: Themes and Templates
In reply to: Can't make CSS code work on mobile.Missing commas probably prevent browser from reading the code
This
h1 h2 h3 { font-size: 24px; }should be this
h1, h2, h3 { font-size: 24px; }I noticed the site is using caching plugin, so please don’t forget to clear the cache, otherwise even if the code is correct the changes won’t take effect.